Unverified Commit bfa9f2ac authored by Craig Hobbs's avatar Craig Hobbs Committed by GitHub

fix(enterprise): HTTPs config for data port (#141)

* fix: https for data port (#140) * fix: https for data port (#140) * fix(Enterprise): https for data port (#140) fix: https for data port (#140)
parent 699bc3c4
apiVersion: v2 apiVersion: v2
version: 0.1.4 version: 0.1.5
appVersion: 1.8.0 appVersion: 1.8.0
engine: gotpl engine: gotpl
......
...@@ -48,6 +48,12 @@ spec: ...@@ -48,6 +48,12 @@ spec:
command: command:
- influx - influx
args: args:
{{- if .Values.data.https.enabled }}
- -ssl
{{- if .Values.data.https.insecure }}
- -unsafeSsl
{{ end }}
{{ end }}
- -host - -host
- {{ include "influxdb-enterprise.fullname" . }}-data - {{ include "influxdb-enterprise.fullname" . }}-data
- -execute - -execute
...@@ -83,6 +89,12 @@ spec: ...@@ -83,6 +89,12 @@ spec:
command: command:
- influx - influx
args: args:
{{- if .Values.data.https.enabled }}
- -ssl
{{- if .Values.data.https.insecure }}
- -unsafeSsl
{{ end }}
{{ end }}
- -host - -host
- {{ include "influxdb-enterprise.fullname" . }}-data - {{ include "influxdb-enterprise.fullname" . }}-data
- -import - -import
...@@ -114,6 +126,12 @@ spec: ...@@ -114,6 +126,12 @@ spec:
command: command:
- influx - influx
args: args:
{{- if .Values.data.https.enabled }}
- -ssl
{{- if .Values.data.https.insecure }}
- -unsafeSsl
{{ end }}
{{ end }}
- -host - -host
- {{ include "influxdb-enterprise.fullname" . }}-data - {{ include "influxdb-enterprise.fullname" . }}-data
- -import - -import
......
...@@ -13,6 +13,14 @@ data: ...@@ -13,6 +13,14 @@ data:
{{ if .Values.bootstrap.auth.secretName }} {{ if .Values.bootstrap.auth.secretName }}
[http] [http]
auth-enabled = true auth-enabled = true
{{ if .Values.data.https.enabled }}
https-enabled = true
https-certificate = "/var/run/secrets/tls/tls.crt"
https-private-key = "/var/run/secrets/tls/tls.key"
{{ end }}
{{ end }} {{ end }}
[enterprise] [enterprise]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment