diff --git a/charts/flagsmith/Chart.yaml b/charts/flagsmith/Chart.yaml index 9a9a82d..2d20adb 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.2.2 +version: 0.2.3 appVersion: 2.6.0 dependencies: - name: postgresql diff --git a/charts/flagsmith/templates/_helpers.tpl b/charts/flagsmith/templates/_helpers.tpl index 715f49c..a0c936b 100644 --- a/charts/flagsmith/templates/_helpers.tpl +++ b/charts/flagsmith/templates/_helpers.tpl @@ -167,7 +167,7 @@ Postgres hostname Influxdb hostname */}} {{- define "flagsmith.influx.hostname" -}} -{{- printf "%s-%s" .Release.Name .Values.influx.nameOverride -}}.{{ .Release.Namespace }}.svc.cluster.local +{{ template "influxdb.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local {{- end -}} {{/* diff --git a/charts/flagsmith/templates/deployment-api.yaml b/charts/flagsmith/templates/deployment-api.yaml index 5e37aba..6fe1e32 100644 --- a/charts/flagsmith/templates/deployment-api.yaml +++ b/charts/flagsmith/templates/deployment-api.yaml @@ -89,7 +89,7 @@ spec: value: postgres://{{.Values.postgresql.postgresqlUsername}}:{{ .Values.postgresql.postgresqlPassword}}@{{ template "flagsmith.postgres.hostname" . }}:5432/{{ .Values.postgresql.postgresqlDatabase}} {{- if .Values.influxdb.enabled }} - name: INFLUXDB_URL - value: http://{{- template "flagsmith.influx.hostname" -}}:8086 + value: http://{{- template "flagsmith.influx.hostname" . -}}:8086 - name: INFLUXDB_BUCKET value: {{ .Values.influxdb.adminUser.bucket }} - name: INFLUXDB_ORG