From 9e250c75ad9327828a1ccfa361409ec58b09776d Mon Sep 17 00:00:00 2001 From: swaphb Date: Sun, 9 Aug 2026 19:56:18 -0400 Subject: [PATCH] Configure ArgoCD for Git repository --- argocd/README.md | 4 ++-- argocd/app-of-apps.yaml | 3 +-- argocd/apps/falco.yaml | 3 +-- argocd/apps/policies.yaml | 3 +-- argocd/apps/test-workloads.yaml | 3 +-- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/argocd/README.md b/argocd/README.md index 8abf347..3dcaff6 100644 --- a/argocd/README.md +++ b/argocd/README.md @@ -7,8 +7,8 @@ workload boundary. ## Bootstrap -1. Push this repository to GitHub and replace `REPLACE_WITH_GITHUB_OWNER` in - the Application manifests with the repository owner. +1. Push this repository to the configured Git server and use the repository URL + in the Application manifests. 2. Create the local cluster from `local-quickstart/`. 3. Run: diff --git a/argocd/app-of-apps.yaml b/argocd/app-of-apps.yaml index cb48f66..3809716 100644 --- a/argocd/app-of-apps.yaml +++ b/argocd/app-of-apps.yaml @@ -9,7 +9,7 @@ spec: project: default source: # Replace the owner after publishing this repository. - repoURL: https://github.com/REPLACE_WITH_GITHUB_OWNER/kubernetes-security-baseline.git + repoURL: https://git.swaphb.com/swaphb/kubernetes-security-baseline-lab.git targetRevision: main path: argocd/apps destination: @@ -21,4 +21,3 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - diff --git a/argocd/apps/falco.yaml b/argocd/apps/falco.yaml index df00aae..cf4b559 100644 --- a/argocd/apps/falco.yaml +++ b/argocd/apps/falco.yaml @@ -14,7 +14,7 @@ spec: helm: valueFiles: - $values/falco/falco-values.yaml - - repoURL: https://github.com/REPLACE_WITH_GITHUB_OWNER/kubernetes-security-baseline.git + - repoURL: https://git.swaphb.com/swaphb/kubernetes-security-baseline-lab.git targetRevision: main ref: values destination: @@ -26,4 +26,3 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - diff --git a/argocd/apps/policies.yaml b/argocd/apps/policies.yaml index 56bd6b4..037f740 100644 --- a/argocd/apps/policies.yaml +++ b/argocd/apps/policies.yaml @@ -9,7 +9,7 @@ metadata: spec: project: default source: - repoURL: https://github.com/REPLACE_WITH_GITHUB_OWNER/kubernetes-security-baseline.git + repoURL: https://git.swaphb.com/swaphb/kubernetes-security-baseline-lab.git targetRevision: main path: policies/kyverno destination: @@ -21,4 +21,3 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - diff --git a/argocd/apps/test-workloads.yaml b/argocd/apps/test-workloads.yaml index 9c95fdb..b9737ed 100644 --- a/argocd/apps/test-workloads.yaml +++ b/argocd/apps/test-workloads.yaml @@ -8,7 +8,7 @@ metadata: spec: project: default source: - repoURL: https://github.com/REPLACE_WITH_GITHUB_OWNER/kubernetes-security-baseline.git + repoURL: https://git.swaphb.com/swaphb/kubernetes-security-baseline-lab.git targetRevision: main path: test-workloads destination: @@ -20,4 +20,3 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true -