Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/addsecrets #54

Draft
wants to merge 16 commits into
base: feature/generate-secrets
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add secret only if no other option is set
christoph2497 committed May 7, 2024
commit fd6c2c02bca2519cd048dbf2a1f50e5ea37ddc7d
2 changes: 2 additions & 0 deletions charts/icinga-stack/charts/icingaweb2/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{{- if and (not .Values.auth.admin_password.value) (not .Values.auth.admin_password.credSecret) (not .Values.auth.admin_password.secretKey)}}
apiVersion: v1
kind: Secret
metadata:
name: icingaweb2
data:
auth_password: {{ randAlphaNum 19 | b64enc }}
type: Opaque
{{- end}}