Skip to content

Commit 592fbe6

Browse files
committed
adding multi-environment argocd implementation
1 parent d321b0b commit 592fbe6

28 files changed

+4463
-0
lines changed

incubator/argo-cd/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: confluent
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: default
11+
source:
12+
path: incubator/argo-cd/environments/dev
13+
repoURL: https://github.com/osodevops/confluent-kubernetes-playground.git
14+
targetRevision: HEAD
15+
destination:
16+
namespace: dev
17+
server: https://kubernetes.default.svc
18+
syncPolicy:
19+
automated:
20+
prune: true
21+
selfHeal: true
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: confluent
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: default
11+
source:
12+
path: incubator/argo-cd/environments/prod
13+
repoURL: https://github.com/osodevops/confluent-kubernetes-playground.git
14+
targetRevision: HEAD
15+
destination:
16+
namespace: prod
17+
server: https://kubernetes.default.svc
18+
syncPolicy:
19+
automated:
20+
prune: true
21+
selfHeal: true
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: confluent
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: default
11+
source:
12+
path: incubator/argo-cd/environments/test
13+
repoURL: https://github.com/osodevops/confluent-kubernetes-playground.git
14+
targetRevision: HEAD
15+
destination:
16+
namespace: test
17+
server: https://kubernetes.default.svc
18+
syncPolicy:
19+
automated:
20+
prune: true
21+
selfHeal: true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- operator.yaml
5+
- confluent.yaml
6+
- repo.yaml
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: Application
4+
metadata:
5+
name: confluent
6+
namespace: argocd
7+
finalizers:
8+
- resources-finalizer.argocd.argoproj.io
9+
spec:
10+
project: default
11+
source:
12+
path: incubator/argo-cd/ldap
13+
repoURL: https://github.com/osodevops/confluent-kubernetes-playground.git
14+
targetRevision: HEAD
15+
destination:
16+
namespace: sandbox
17+
server: https://kubernetes.default.svc
18+
syncPolicy:
19+
automated:
20+
prune: true
21+
selfHeal: true
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: cfk-operator
5+
namespace: argocd
6+
spec:
7+
destination:
8+
name: ''
9+
namespace: argocd
10+
server: 'https://kubernetes.default.svc'
11+
source:
12+
path: ''
13+
repoURL: 'https://packages.confluent.io/helm'
14+
targetRevision: 0.304.17
15+
chart: confluent-for-kubernetes
16+
helm:
17+
valueFiles:
18+
- values.yaml
19+
parameters:
20+
- name: namespaced
21+
value: 'false'
22+
project: default
23+
syncPolicy:
24+
automated:
25+
prune: true
26+
selfHeal: true
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: ckf-operator-repo
5+
namespace: argocd
6+
labels:
7+
argocd.argoproj.io/secret-type: repository
8+
stringData:
9+
url: https://packages.confluent.io/helm
10+
name: cfk-operator
11+
type: helm

0 commit comments

Comments
 (0)