mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 14:57:31 +08:00
Apply corrections from review
Signed-off-by: juan131 <juan@bitnami.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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) }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user