diff --git a/README.md b/README.md index 7df3c109..4a27995c 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,5 @@ Take the certification yourself at [https://codefresh.io/courses/get-gitops-cert >> Good commit + +Bad commit diff --git a/helm-multi-source/01-single-app/prod-us-app.yaml b/helm-multi-source/01-single-app/prod-us-app.yaml new file mode 100644 index 00000000..0138ea57 --- /dev/null +++ b/helm-multi-source/01-single-app/prod-us-app.yaml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: prod-us-app + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + destination: + server: https://kubernetes.default.svc + namespace: prod-us + sources: + - repoURL: https://github.com/elendis/gitops-cert-level-3-examples.git + path: helm-multi-source/my-chart + targetRevision: HEAD + helm: + valueFiles: + - $values/helm-multi-source/my-values/common-values.yaml + - $values/helm-multi-source/my-values/app-version/prod-values.yaml + - $values/helm-multi-source/my-values/env-type/prod-values.yaml + - $values/helm-multi-source/my-values/regions/us-values.yaml + - $values/helm-multi-source/my-values/envs/prod-us-values.yaml + - repoURL: 'https://github.com/elendis/gitops-cert-level-3-examples.git' + targetRevision: HEAD + ref: values + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + prune: true + selfHeal: true