From 7e2ac35b0a8b1e1a4ccc8545bd595954d828512b Mon Sep 17 00:00:00 2001 From: Andrei Kartashov Date: Mon, 25 Sep 2023 04:31:05 +0700 Subject: [PATCH] argocd: add bitnami repo --- state/gullfaxi/system/argocd/application.yaml | 5 ++++- .../system/argocd/manifests/bitnami-oci.yaml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 state/gullfaxi/system/argocd/manifests/bitnami-oci.yaml diff --git a/state/gullfaxi/system/argocd/application.yaml b/state/gullfaxi/system/argocd/application.yaml index ffb8cd1..6145af6 100644 --- a/state/gullfaxi/system/argocd/application.yaml +++ b/state/gullfaxi/system/argocd/application.yaml @@ -13,8 +13,11 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - # https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/#helm-value-files-from-external-git-repository sources: + - repoURL: git@github.com:amkartashov/gf-k8s.git + targetRevision: main + path: state/gullfaxi/system/argocd/manifests + # https://argo-cd.readthedocs.io/en/stable/user-guide/multiple_sources/#helm-value-files-from-external-git-repository - repoURL: https://argoproj.github.io/argo-helm chart: argo-cd targetRevision: 5.45.0 diff --git a/state/gullfaxi/system/argocd/manifests/bitnami-oci.yaml b/state/gullfaxi/system/argocd/manifests/bitnami-oci.yaml new file mode 100644 index 0000000..b226f5b --- /dev/null +++ b/state/gullfaxi/system/argocd/manifests/bitnami-oci.yaml @@ -0,0 +1,14 @@ +# have to add repo because oci:// prefix is not supported in repoURL +# https://github.com/argoproj/argo-cd/issues/10823 +apiVersion: v1 +kind: Secret +type: Opaque +metadata: + name: bitnami-oci-repo + labels: + argocd.argoproj.io/secret-type: repository +stringData: + name: bitnami + type: helm + enableOci: "true" + url: registry-1.docker.io/bitnamicharts