19 lines
461 B
YAML
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
|