test in app secret decrypt and import

This commit is contained in:
2024-07-15 11:34:40 +10:00
parent 07dee3e2e3
commit 2cdbb594a7
6 changed files with 18 additions and 29 deletions

View File

@@ -6,6 +6,7 @@ kubectl create namespace argocd || echo "Namespace argocd already exists"
helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists"
helm repo update || echo "Failed to update helm repos"
helm upgrade --install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6
helm plugin install https://github.com/jkroepke/helm-secrets
#Check repo server secret accessibility
echo "Checking repo server secret accessibility:"

View File

@@ -6,6 +6,18 @@ global:
domain: argocd.cluster.edward.sydney
configs:
cm: >-
kustomize.buildOptions: "--enable-helm"
configManagementPlugins: |
- name: kustomized-helm
init:
command: ["/bin/sh", "-c"]
args: ["helm dependency build"]
generate:
command: [sh, -c]
args: ["helm template --release-name release-name . > all.yaml && kustomize build"]
helm.valuesFileSchemes: "secrets"
params:
server.insecure: true