diff --git a/charts/flagsmith/Chart.yaml b/charts/flagsmith/Chart.yaml index 87ab183..2f2267c 100644 --- a/charts/flagsmith/Chart.yaml +++ b/charts/flagsmith/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: flagsmith description: Flagsmith type: application -version: 0.1.6 +version: 0.1.7 appVersion: 2.6.0 dependencies: - name: postgresql diff --git a/charts/flagsmith/templates/NOTES.txt b/charts/flagsmith/templates/NOTES.txt new file mode 100644 index 0000000..c7f4f53 --- /dev/null +++ b/charts/flagsmith/templates/NOTES.txt @@ -0,0 +1,20 @@ +# Flagsmith pods are now starting in the cluster # + +See documentation at https://artifacthub.io/packages/helm/flagsmith/flagsmith/{{ .Chart.Version }} +for more configuration options. + +{{ if not (and .Values.ingress.frontend.enabled .Values.ingress.api.enabled) }} + +{{- $noIngressFor := (list) -}} +{{- if not .Values.ingress.api.enabled -}}{{- $noIngressFor = append $noIngressFor "api" -}}{{- end -}} +{{- if not .Values.ingress.frontend.enabled -}}{{- $noIngressFor = append $noIngressFor "frontend" -}}{{- end -}} +{{- $commaParts := (slice $noIngressFor 0 (sub (len $noIngressFor) 1)) -}} +{{- $andPart := (last $noIngressFor) -}} +{{- $stringParts := (compact (list (join ", " $commaParts) $andPart)) -}} +## Ingress not enabled for {{ join " and " $stringParts }} ## + +See documentation at https://artifacthub.io/packages/helm/flagsmith/flagsmith/{{ .Chart.Version }}#ingress-configuration +for information about how to gain web access to the application. + +{{- end }} +