infra4talos/apps-helm/wg-access-server/templates/secretProviderClass.yaml

13 lines
462 B
YAML
Raw Permalink Normal View History

---
2023-12-04 15:43:57 +00:00
{{- if .Values.config.csiSecretsStore -}}
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" }}
parameters:
secrets: |
- resourceName: {{ .Values.config.csiSecretsStore.resourceName | default "vaults/3oh5jxmxvqvpuimu2lbuajtizi/allitems/nyamadlgfac4pmce4uexrhtuju/notes" }}
2023-12-04 17:07:57 +00:00
path: "config.yaml"
{{- end -}}