From ac42237aa7b916d7139bd914e7d28d147bed864e Mon Sep 17 00:00:00 2001 From: Joep de Jong Date: Fri, 29 Sep 2023 16:08:12 +0200 Subject: [PATCH] Fix secrets --- apps/passes/deploy.yaml | 4 ++-- apps/passes/kustomization.yaml | 1 - apps/passes/release.yaml | 30 ------------------------------ 3 files changed, 2 insertions(+), 33 deletions(-) delete mode 100644 apps/passes/release.yaml diff --git a/apps/passes/deploy.yaml b/apps/passes/deploy.yaml index 54be4085..53fc97ef 100644 --- a/apps/passes/deploy.yaml +++ b/apps/passes/deploy.yaml @@ -50,8 +50,8 @@ spec: name: passes key: certificatePassword volumeMounts: - - mountPath: /secret - name: keys + - mountPath: /keys + name: secret ports: - name: http containerPort: 3000 diff --git a/apps/passes/kustomization.yaml b/apps/passes/kustomization.yaml index 68820cbb..225a9ce5 100644 --- a/apps/passes/kustomization.yaml +++ b/apps/passes/kustomization.yaml @@ -3,5 +3,4 @@ kind: Kustomization resources: - image.yaml - deploy.yaml - - release.yaml - httproute.yaml \ No newline at end of file diff --git a/apps/passes/release.yaml b/apps/passes/release.yaml deleted file mode 100644 index 85d00d4d..00000000 --- a/apps/passes/release.yaml +++ /dev/null @@ -1,30 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta1 -kind: HelmRelease -metadata: - name: passes - namespace: default -spec: - interval: 15m - chart: - spec: - chart: ./passes - version: "0.1.x" - interval: 15m - reconcileStrategy: Revision - sourceRef: - kind: GitRepository - name: wisvch - namespace: flux-system - values: - replicaCount: 1 - tlsSecret: wisvch-tls - serviceAccountSecretName: passes - serviceAccountSecretKey: serviceAccount - image: - repository: ghcr.io/wisvch/passes - tag: 20230929-ecb3267 # {"$imagepolicy": "flux-system:passes:tag"} - volumes: - - name: passes-keys - secret: - defaultMode: 420 - secretName: passes-keys \ No newline at end of file