kubernetes/wiki.js/templates/secret.yaml
2022-02-27 18:34:31 +01:00

19 lines
461 B
YAML

apiVersion: external-secrets.io/v1alpha1
kind: ExternalSecret
metadata:
name: {{ .Values.wiki.postgresql.existingSecret }}
# namespace: external-secrets
namespace: {{ .Release.Namespace }}
metadata:
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
target:
name: {{ .Values.wiki.postgresql.existingSecret }}
data:
- secretKey: postgresql-password
remoteRef:
key: secret/infotech
property: DB_PASSWORD