Fix secret store names

This commit is contained in:
Amarpreet Minhas 2023-07-10 18:48:32 +00:00
parent a689b27504
commit 24469d94e8
3 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ name: miniflux
namespace: miniflux namespace: miniflux
serviceAccountName: miniflux serviceAccountName: miniflux
externalSecrets: externalSecrets:
secretStoreRef: miniflux secretStoreName: miniflux
secrets: secrets:
- secretKey: miniflux_admin_pw - secretKey: miniflux_admin_pw
key: miniflux key: miniflux

View file

@ -4,7 +4,7 @@ name: pihole
namespace: external-dns namespace: external-dns
serviceAccountName: default serviceAccountName: default
externalSecrets: externalSecrets:
secretStoreRef: default secretStoreName: default
secrets: secrets:
- secretKey: pihole-password - secretKey: pihole-password
key: external-dns key: external-dns

View file

@ -43,7 +43,7 @@ subjects:
apiVersion: external-secrets.io/v1beta1 apiVersion: external-secrets.io/v1beta1
kind: SecretStore kind: SecretStore
metadata: metadata:
name: {{ .Values.name }} name: {{ .Values.externalSecrets.secretStoreName }}
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
spec: spec:
provider: provider:
@ -67,7 +67,7 @@ metadata:
namespace: {{ .Values.namespace }} namespace: {{ .Values.namespace }}
spec: spec:
secretStoreRef: secretStoreRef:
name: {{ .Values.externalSecrets.secretStoreRef }} name: {{ .Values.externalSecrets.secretStoreName }}
kind: SecretStore kind: SecretStore
data: data:
{{- range .Values.externalSecrets.secrets }} {{- range .Values.externalSecrets.secrets }}