2023-12-04 15:40:08 +00:00
|
|
|
---
|
2023-12-04 15:43:57 +00:00
|
|
|
{{- if .Values.config.csiSecretsStore -}}
|
2023-12-04 15:40:08 +00:00
|
|
|
apiVersion: secrets-store.csi.x-k8s.io/v1
|
|
|
|
kind: SecretProviderClass
|
|
|
|
metadata:
|
|
|
|
name: app-secrets
|
|
|
|
spec:
|
2023-12-04 15:46:32 +00:00
|
|
|
provider: {{ .Values.config.csiSecretsStore.providerName | default "1password" }}
|
2023-12-04 15:40:08 +00:00
|
|
|
parameters:
|
|
|
|
secrets: |
|
2023-12-04 15:50:00 +00:00
|
|
|
- resourceName: {{ .Values.config.csiSecretsStore.resourceName | default "vaults/3oh5jxmxvqvpuimu2lbuajtizi/allitems/nyamadlgfac4pmce4uexrhtuju/notes" }}
|
2023-12-04 17:07:57 +00:00
|
|
|
path: "config.yaml"
|
2023-12-04 15:40:08 +00:00
|
|
|
{{- end -}}
|