helm-charts/bitwarden/templates/secret.yaml

11 lines
290 B
YAML
Raw Normal View History

{{- if not .Values.bitwarden.admin.existingSecret.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "bitwarden.fullname" . }}
labels:
{{- include "bitwarden.labels" . | nindent 4 }}
type: Opaque
data:
admin-token: {{ randAlphaNum 48 | b64enc | quote }}
{{- end }}