--- {{- if .Values.config.csiSecretsStore -}} apiVersion: secrets-store.csi.x-k8s.io/v1 kind: SecretProviderClass metadata: name: app-secrets spec: provider: {{ .Values.config.csiSecretsStore.providerName | default "1password" }} parameters: secrets: | - resourceName: {{ .Values.config.csiSecretsStore.resourceName | default "vaults/3oh5jxmxvqvpuimu2lbuajtizi/allitems/nyamadlgfac4pmce4uexrhtuju/notes" }} path: "config" {{- end -}}