@@ -170,38 +170,6 @@ PgBouncer hostname
170
170
{ {- printf " %s-%s" .Release.Name " pgbouncer" -} }.{ { .Release.Namespace } }.svc.cluster.local
171
171
{ {- end -} }
172
172
173
- { {/*
174
- Expand the name of the chart.
175
- */} }
176
- { {- define " flagsmith.influxdb.name" -} }
177
- { {- default " influxdb2" .Values.influxdb2.nameOverride | trunc 63 | trimSuffix " -" -} }
178
- { {- end -} }
179
-
180
- { {/*
181
- Create a default fully qualified app name.
182
- We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
183
- If release name contains chart name it will be used as a full name.
184
- */} }
185
- { {- define " flagsmith.influxdb.fullname" -} }
186
- { {- if .Values.influxdb2.fullnameOverride -} }
187
- { {- .Values.influxdb2.fullnameOverride | trunc 63 | trimSuffix " -" -} }
188
- { {- else -} }
189
- { {- $name := default " influxdb2" .Values.influxdb2.nameOverride -} }
190
- { {- if contains $name .Release.Name -} }
191
- { {- .Release.Name | trunc 63 | trimSuffix " -" -} }
192
- { {- else -} }
193
- { {- printf " %s-%s" .Release.Name $name | trunc 63 | trimSuffix " -" -} }
194
- { {- end -} }
195
- { {- end -} }
196
- { {- end -} }
197
-
198
- { {/*
199
- Influxdb hostname
200
- */} }
201
- { {- define " flagsmith.influxdb.hostname" -} }
202
- { { template " flagsmith.influxdb.fullname" . } }.{ { .Release.Namespace } }.svc.cluster.local
203
- { {- end -} }
204
-
205
173
{ {/*
206
174
Create a default fully qualified app name.
207
175
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
@@ -238,8 +206,6 @@ Frontend environment
238
206
value: { { .Values._destructiveTests.testToken | quote } }
239
207
- name: FLAGSMITH_API
240
208
value: { { include " flagsmith.fullname" . } }-api.{ { .Release.Namespace } }:{ { .Values.service.api.port } }/api/v1/
241
- - name: ENABLE_INFLUXDB_FEATURES
242
- value: { { .Values.influxdb2.enabled | ternary " true" " false" | squote } }
243
209
{ {- end } }
244
210
{ {- range $envName , $envValue := .Values.frontend.extraEnv } }
245
211
- name: { { $envName } }
0 commit comments