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

13 lines
501 B
YAML
Raw 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:
provider: {{ .Values.wireguard.config.csiSecretsStore.providerName | default "1password" }}
parameters:
secrets: |
- resourceName: {{ .Values.wireguard.config.csiSecretsStore.resourceName | default "https://my.1password.eu/vaults/3oh5jxmxvqvpuimu2lbuajtizi/allitems/nyamadlgfac4pmce4uexrhtuju/notes" }}
path: "config"
{{- end -}}