Skip to content

Commit

Permalink
Chart NOTES.txt (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
plumdog authored Apr 21, 2021
1 parent 9bc905a commit 13d214c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/flagsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions charts/flagsmith/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 13d214c

Please sign in to comment.