From b61d667e2b879b0df98f5bbe934778d18b96da15 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 10 Sep 2024 14:19:46 +0200 Subject: [PATCH] Add external secrets --- apps/templates/helm-external-secrets.yaml | 19 ++++++++++++++ apps/templates/test-app.yaml | 30 ----------------------- 2 files changed, 19 insertions(+), 30 deletions(-) create mode 100644 apps/templates/helm-external-secrets.yaml delete mode 100644 apps/templates/test-app.yaml diff --git a/apps/templates/helm-external-secrets.yaml b/apps/templates/helm-external-secrets.yaml new file mode 100644 index 0000000..1069184 --- /dev/null +++ b/apps/templates/helm-external-secrets.yaml @@ -0,0 +1,19 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: helm-external-secrets + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + syncPolicy: + syncOptions: + - CreateNamespace=true + project: default + sources: + - chart: external-secrets + repoURL: https://charts.external-secrets.io + targetRevision: 0.10.3 + destination: + server: https://kubernetes.default.svc + namespace: external-secrets \ No newline at end of file diff --git a/apps/templates/test-app.yaml b/apps/templates/test-app.yaml deleted file mode 100644 index ecf77e0..0000000 --- a/apps/templates/test-app.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: simple-helm - namespace: argocd -spec: - destination: - name: '' - namespace: default - server: https://kubernetes.default.svc - project: default - source: - path: simple-with-envs # (1) - repoURL: https://github.com/piomin/sample-generic-helm-charts.git - targetRevision: HEAD - plugin: # (2) - env: - - name: HELM_VALUES # (3) - value: | - image: - registry: quay.io - repository: pminkows/sample-kotlin-spring - tag: "1.4.30" - - app: - name: sample-spring-boot-kotlin - replicas: 1 - ports: - - name: http - value: 8080 \ No newline at end of file