Skip to content

Commit 961e6ec

Browse files
authored
feat(argocd): add gateway-app to gateway project (#11)
TD-928
1 parent 7849d32 commit 961e6ec

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

charts/gateway-argocd/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: gateway-app
5+
namespace: argocd
6+
labels:
7+
name: gateway-app
8+
spec:
9+
project: gateway
10+
11+
source:
12+
repoURL: https://charts.glassdome.com/
13+
targetRevision: "*"
14+
chart: gateway-app
15+
16+
destination:
17+
server: https://kubernetes.default.svc
18+
namespace: gateway-app
19+
20+
syncPolicy:
21+
automated:
22+
prune: true
23+
selfHeal: true
24+
syncOptions:
25+
- CreateNamespace=true
26+
- PrunePropagationPolicy=foreground
27+
- PruneLast=true

charts/gateway-argocd/templates/gateway-project.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
- namespace: argocd
2020
server: https://kubernetes.default.svc
2121
name: in-cluster
22+
- namespace: gateway-app
23+
server: https://kubernetes.default.svc
24+
name: in-cluster
2225

2326
clusterResourceWhitelist:
2427
- group: ""

0 commit comments

Comments
 (0)