apiVersion: v1 kind: Secret metadata: name: {{ include "wordpress-nginx.fullname" . }}-secret labels: {{- include "wordpress-nginx.labels" . | nindent 4 }} type: Opaque data: 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 }}