From af5a524cd5f5f0b06c61f4a17f239a8b306ad542 Mon Sep 17 00:00:00 2001 From: pieter Date: Fri, 21 Nov 2025 01:45:30 +0000 Subject: [PATCH] =?UTF-8?q?templates/secret.yaml=20=E3=82=92=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/secret.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/secret.yaml b/templates/secret.yaml index c94386f..90482fb 100644 --- a/templates/secret.yaml +++ b/templates/secret.yaml @@ -6,4 +6,13 @@ metadata: {{- include "wordpress-nginx.labels" . | nindent 4 }} type: Opaque data: - db-password: {{ .Values.wordpress.dbPassword | b64enc | quote }} \ No newline at end of file + db-password: {{ .Values.wordpress.dbPassword | b64enc | quote }} + admin-password: {{ .Values.wordpress.adminPassword | default (randAlphaNum 16) | b64enc | quote }} + auth-key: {{ randAlphaNum 64 | b64enc | quote }} + secure-auth-key: {{ randAlphaNum 64 | b64enc | quote }} + logged-in-key: {{ randAlphaNum 64 | b64enc | quote }} + nonce-key: {{ randAlphaNum 64 | b64enc | quote }} + auth-salt: {{ randAlphaNum 64 | b64enc | quote }} + secure-auth-salt: {{ randAlphaNum 64 | b64enc | quote }} + logged-in-salt: {{ randAlphaNum 64 | b64enc | quote }} + nonce-salt: {{ randAlphaNum 64 | b64enc | quote }} \ No newline at end of file