kubernetes/wiki.js/templates/secret.yaml

19 lines
461 B
YAML
Raw Normal View History

2022-02-27 17:34:31 +00:00
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