use patched helm chart k8s-at-home/bitwardenrs
This commit is contained in:
11
bitwarden/templates/secret.yaml
Normal file
11
bitwarden/templates/secret.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
{{- 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 }}
|
Reference in New Issue
Block a user