11 lines
290 B
YAML
11 lines
290 B
YAML
{{- 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 }} |