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