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

@@ -1,24 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
namespace: argocd
data:
admin.enabled: "true"
application.instanceLabelKey: "argocd.argoproj.io/instance"
exec.enabled: "false"
server.rbac.log.enforce.enable: "false"
statusbadge.enabled: "false"
timeout.hard.reconciliation: "0s"
timeout.reconciliation: "180s"
url: "https://argocd.cluster.edward.sydney"
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: "http, https, secrets+age-import-kubernetes"

View File

@@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./configmap.yaml

View File

@@ -1,9 +1,9 @@
{
"appName": "argocd-cm",
"userGivenName": "argocd-cm",
"destNamespace": "argocd-cm",
"appName": "app-secrets",
"userGivenName": "app-secrets",
"destNamespace": "argocd",
"destServer": "https://kubernetes.default.svc",
"srcPath": "resources/argocd-cm/env/k3s-cluster",
"srcPath": "resources/secrets/env/k3s-cluster",
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
"srcTargetRevision": "",
"labels": null,