From 47759eb257b09b492e43dd2e6f2e74b290fbb43c Mon Sep 17 00:00:00 2001 From: DavidAtBede Date: Wed, 18 Dec 2024 13:57:02 +0000 Subject: [PATCH 1/4] yeah --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ac3c292..b7ab3b01 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ This repository contains examples for the ArgoCD/GitOps certification workshops Take the certification yourself at [https://codefresh.io/courses/get-gitops-certified/](https://learning.codefresh.io/) -Good Commit \ No newline at end of file +Good Commit XXX \ No newline at end of file From 1c15c05c55b98ebefbd134b48579e8fdbd63adc5 Mon Sep 17 00:00:00 2001 From: DavidAtBede Date: Wed, 18 Dec 2024 13:57:46 +0000 Subject: [PATCH 2/4] wip[ --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7ab3b01..df93b10d 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ This repository contains examples for the ArgoCD/GitOps certification workshops Take the certification yourself at [https://codefresh.io/courses/get-gitops-certified/](https://learning.codefresh.io/) -Good Commit XXX \ No newline at end of file +Good Commit XXX x \ No newline at end of file From 8f93dae3c6bb806f34b7e3271d6cb4da26fe572a Mon Sep 17 00:00:00 2001 From: DavidAtBede Date: Thu, 19 Dec 2024 11:27:37 +0000 Subject: [PATCH 3/4] prod us --- .../01-single-app/prod-us-app.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 helm-multi-source/01-single-app/prod-us-app.yaml 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..ab874264 --- /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/davidatbede/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/staging-values.yaml + - $values/helm-multi-source/my-values/env-type/non-prod-values.yaml + - $values/helm-multi-source/my-values/regions/eu-values.yaml + - $values/helm-multi-source/my-values/envs/staging-eu-values.yaml + - repoURL: 'https://github.com/davidatbede/gitops-cert-level-3-examples.git' + targetRevision: HEAD + ref: values + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + prune: true + selfHeal: true From c48515d8f63396c011a65d3628b97db8a309617b Mon Sep 17 00:00:00 2001 From: DavidAtBede Date: Thu, 19 Dec 2024 11:31:56 +0000 Subject: [PATCH 4/4] values --- helm-multi-source/01-single-app/prod-us-app.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helm-multi-source/01-single-app/prod-us-app.yaml b/helm-multi-source/01-single-app/prod-us-app.yaml index ab874264..d3f38251 100644 --- a/helm-multi-source/01-single-app/prod-us-app.yaml +++ b/helm-multi-source/01-single-app/prod-us-app.yaml @@ -17,10 +17,10 @@ spec: helm: valueFiles: - $values/helm-multi-source/my-values/common-values.yaml - - $values/helm-multi-source/my-values/app-version/staging-values.yaml - - $values/helm-multi-source/my-values/env-type/non-prod-values.yaml - - $values/helm-multi-source/my-values/regions/eu-values.yaml - - $values/helm-multi-source/my-values/envs/staging-eu-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/davidatbede/gitops-cert-level-3-examples.git' targetRevision: HEAD ref: values