From d893bef4679042f044891366519d795ef6c21bf5 Mon Sep 17 00:00:00 2001 From: pieter Date: Sat, 5 Jul 2025 00:55:12 +0000 Subject: [PATCH] =?UTF-8?q?templates/secret-db.yaml=20=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/secret-db.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/secret-db.yaml diff --git a/templates/secret-db.yaml b/templates/secret-db.yaml new file mode 100644 index 0000000..97e0e8c --- /dev/null +++ b/templates/secret-db.yaml @@ -0,0 +1,9 @@ +{{- if and .Values.externalDatabase.enabled .Values.externalDatabase.password }} +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "phpfpm.fullname" . }}-db-secret +type: Opaque +stringData: + {{ include "phpfpm.fullname" . }}-db-key: {{ .Values.externalDatabase.password | quote }} +{{- end }} \ No newline at end of file