kubernetes: add and update new and existing projects
All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful
This commit is contained in:
12
kubernetes/immich/immich-helm-chart/templates/checks.yaml
Normal file
12
kubernetes/immich/immich-helm-chart/templates/checks.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
{{- $name := .Values.immich.persistence.library.existingClaim | required ".Values.immich.persistence.library.existingClaim is required." -}}
|
||||
{{- if not (kindIs "string" $name) -}}{{- fail ".Values.immich.persistence.library.existingClaim must be a string" -}}{{- end -}}
|
||||
|
||||
{{ if .Values.postgresql }}
|
||||
{{ fail "The postgres subchart has been removed. Please see https://github.com/immich-app/immich-charts/issues/149 for more detail." }}
|
||||
{{ end }}
|
||||
|
||||
{{ if hasKey .Values "redis" }}
|
||||
{{ if .Values.redis.enabled }}
|
||||
{{ fail "The bitnami redis subchart has been deprecated and removed. Please use the included valkey deployment or an external instance."}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user