Compare commits
2
Commits
c4c9f37bbc
..
v0.3.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
943897044a | ||
|
|
53c8c8e94c |
@@ -8,7 +8,10 @@
|
||||
{{- else if and .Values.postgres.auth.password (not (hasPrefix "change-me" .Values.postgres.auth.password)) (ne .Values.postgres.auth.password "") }}
|
||||
{{- $pgPass = .Values.postgres.auth.password }}
|
||||
{{- else }}
|
||||
{{- $pgPass = randAlphaNum 32 }}
|
||||
{{- /* Fail loudly instead of silently minting a random password: under
|
||||
Argo CD (helm template) `lookup` is always empty, and a random
|
||||
value would diverge from the live service on every render. */}}
|
||||
{{- fail "postgres.auth.password must be set: no existing pargar-postgres secret was found and .Values.postgres.auth.password is empty or a change-me placeholder" }}
|
||||
{{- end }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -30,7 +33,7 @@ stringData:
|
||||
{{- else if and .Values.redis.auth.password (not (hasPrefix "change-me" .Values.redis.auth.password)) (ne .Values.redis.auth.password "") }}
|
||||
{{- $rdPass = .Values.redis.auth.password }}
|
||||
{{- else }}
|
||||
{{- $rdPass = randAlphaNum 32 }}
|
||||
{{- fail "redis.auth.password must be set: no existing pargar-redis secret was found and .Values.redis.auth.password is empty or a change-me placeholder" }}
|
||||
{{- end }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -56,7 +59,7 @@ stringData:
|
||||
{{- else if and .Values.rustfs.auth.secretKey (not (hasPrefix "change-me" .Values.rustfs.auth.secretKey)) (ne .Values.rustfs.auth.secretKey "") }}
|
||||
{{- $secret = .Values.rustfs.auth.secretKey }}
|
||||
{{- else }}
|
||||
{{- $secret = randAlphaNum 40 }}
|
||||
{{- fail "rustfs.auth.secretKey must be set: no existing pargar-rustfs secret was found and .Values.rustfs.auth.secretKey is empty or a change-me placeholder" }}
|
||||
{{- end }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
@@ -61,7 +61,7 @@ global:
|
||||
# Gitea packages are private: kubelet pulls need secret `gitea-pull`
|
||||
# (docker-registry secret for src.panahifar.ir, created in ns pargar).
|
||||
imagePullSecrets:
|
||||
- gitea-pull
|
||||
- name: gitea-pull
|
||||
ingress:
|
||||
enabled: true
|
||||
tls:
|
||||
|
||||
Reference in New Issue
Block a user