Apply corrections from review

Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
juan131
2019-10-04 10:35:00 +02:00
parent 86cd0f7365
commit aecf0d81d0
6 changed files with 8 additions and 8 deletions

View File

@@ -3,4 +3,4 @@ Place your InfluxDB and InfluxDB Relay configuration files here. These will not
More information can be found in the links below:
- [InfluxDB Configuration File](https://github.com/bitnami/bitnami-docker-influxdb#configuration-file)
- [InfluxDB Relay Configuration File](https://github.com/bitnami/bitnami-docker-influxdb-relay#configuration-file)
- [InfluxDB Relay Configuration File](https://github.com/bitnami/bitnami-docker-influxdb-relay#configuration)

View File

@@ -53,7 +53,7 @@ To connect to your database run the following commands:
(write operations):
kubectl run {{ include "influxdb.fullname" . }}-client --rm --tty -i --restart='Never' --namespace {{ .Release.Namespace }} {{ if .Values.authEnabled }}--env="INFLUX_USERNAME={{ .Values.adminUser.name }}" --env="INFLUX_PASSWORD=$ADMIN_PASSWORD"{{ end }} \
{{ if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}--labels="{{ include "influxdb.fullname" . }}-client=true" {{ end }}--image bitnami/influxdb:1 \
{{ if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}--labels="{{ include "influxdb.fullname" . }}-client=true" {{ end }}--image {{ include "influxdb.image" . }} \
--command -- influx -host {{ include "influxdb.fullname" . }}-relay -port {{ .Values.relay.service.port }}
(read operations):
@@ -61,7 +61,7 @@ To connect to your database run the following commands:
{{- end }}
kubectl run {{ include "influxdb.fullname" . }}-client --rm --tty -i --restart='Never' --namespace {{ .Release.Namespace }} {{ if .Values.authEnabled }}--env="INFLUX_USERNAME={{ .Values.adminUser.name }}" --env="INFLUX_PASSWORD=$ADMIN_PASSWORD"{{ end }} \
{{ if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}--labels="{{ include "influxdb.fullname" . }}-client=true" {{ end }}--image bitnami/influxdb:1 \
{{ if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}--labels="{{ include "influxdb.fullname" . }}-client=true" {{ end }}--image {{ include "influxdb.image" . }} \
--command -- influx -host {{ include "influxdb.fullname" . }} -port {{ .Values.influxdb.service.port }}
{{- if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}

View File

@@ -7,8 +7,8 @@ metadata:
app.kubernetes.io/component: influxdb
data:
{{- if (.Files.Glob "files/conf/influxdb.conf") }}
{{ (.Files.Glob "iles/conf/influxdb.conf").AsConfig | indent 2 }}
{{- else if .Values.influxdb.configuratio }}
{{ (.Files.Glob "files/conf/influxdb.conf").AsConfig | indent 2 }}
{{- else if .Values.influxdb.configuration }}
influxdb.conf: |-
# User-supplied configuration:
{{ tpl .Values.influxdb.configuration . | indent 4 }}

View File

@@ -10,7 +10,7 @@ spec:
replicas: {{ .Values.influxdb.replicaCount }}
updateStrategy:
type: {{ .Values.influxdb.updateStrategy }}
{{- if (eq "Recreate" .Values.influxdb.updateStrategy) }}
{{- if (eq "OnDelete" .Values.influxdb.updateStrategy) }}
rollingUpdate: null
{{- end }}
selector:

View File

@@ -478,7 +478,7 @@ volumePermissions:
image:
registry: docker.io
repository: bitnami/minideb
tag: latest
tag: stretch
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##

View File

@@ -478,7 +478,7 @@ volumePermissions:
image:
registry: docker.io
repository: bitnami/minideb
tag: latest
tag: stretch
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##