Co-authored-by: Gabriel Radureau <arcodange@gmail.com> Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
18 lines
427 B
YAML
18 lines
427 B
YAML
{{- if .Values.vault.enabled }}
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
|
kind: VaultDynamicSecret
|
|
metadata:
|
|
name: vso-db
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
mount: postgres
|
|
path: {{ .Values.vault.postgresPath }}
|
|
destination:
|
|
create: true
|
|
name: vso-db-credentials
|
|
rolloutRestartTargets:
|
|
- kind: Deployment
|
|
name: {{ include "dance-lessons-coach.fullname" . }}
|
|
vaultAuthRef: auth
|
|
{{- end }}
|