Skip to content

Commit 2d388b7

Browse files
committed
add hydrated manifest
Signed-off-by: nitishfy <justnitish06@gmail.com>
1 parent 0bed1ea commit 2d388b7

3 files changed

Lines changed: 84 additions & 0 deletions

File tree

argocd/hydrator/dev.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: guestbook-dev
5+
namespace: argocd
6+
spec:
7+
project: default
8+
destination:
9+
server: https://kubernetes.default.svc
10+
namespace: guestbook-dev
11+
sourceHydrator:
12+
drySource:
13+
repoURL: https://github.com/nitishfy/rendered-manifest-pattern,git
14+
path: guestbook
15+
targetRevision: HEAD
16+
helm:
17+
valueFiles:
18+
- environments/dev-values.yaml
19+
releaseName: guestbook-dev
20+
syncSource:
21+
targetBranch: environments/dev
22+
path: guestbook
23+
syncPolicy:
24+
automated:
25+
prune: true
26+
selfHeal: true
27+
syncOptions:
28+
- CreateNamespace=true

argocd/hydrator/prod.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: guestbook-prod
5+
namespace: argocd
6+
spec:
7+
project: default
8+
destination:
9+
server: https://kubernetes.default.svc
10+
namespace: guestbook-prod
11+
sourceHydrator:
12+
drySource:
13+
repoURL: https://github.com/nitishfy/rendered-manifest-pattern,git
14+
path: guestbook
15+
targetRevision: HEAD
16+
helm:
17+
valueFiles:
18+
- environments/prod-values.yaml
19+
releaseName: guestbook-prod
20+
syncSource:
21+
targetBranch: environments/prod
22+
path: guestbook
23+
syncPolicy:
24+
automated:
25+
prune: true
26+
selfHeal: true
27+
syncOptions:
28+
- CreateNamespace=true

argocd/hydrator/staging.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: guestbook-staging
5+
namespace: argocd
6+
spec:
7+
project: default
8+
destination:
9+
server: https://kubernetes.default.svc
10+
namespace: guestbook-staging
11+
sourceHydrator:
12+
drySource:
13+
repoURL: https://github.com/nitishfy/rendered-manifest-pattern,git
14+
path: guestbook
15+
targetRevision: HEAD
16+
helm:
17+
valueFiles:
18+
- environments/staging-values.yaml
19+
releaseName: guestbook-staging
20+
syncSource:
21+
targetBranch: environments/staging
22+
path: guestbook
23+
syncPolicy:
24+
automated:
25+
prune: true
26+
selfHeal: true
27+
syncOptions:
28+
- CreateNamespace=true

0 commit comments

Comments
 (0)