13 lines
511 B
YAML
13 lines
511 B
YAML
|
---
|
||
|
{{- if .Values.wireguard.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 -}}
|