Commit abed03e8 authored by Naseem's avatar Naseem Committed by Kubernetes Prow Robot

[stable/influxdb] Move bind_address under rpc header and update image to 1.7 (#9384)

* Update image to 1.7 Signed-off-by: 's avatarNaseem Ullah <naseemkullah@gmail.com> * move bind_address under rpc heading Signed-off-by: 's avatarNaseem Ullah <naseemkullah@gmail.com> * Version stable, adding OWNERS, adding Upgrading in README Signed-off-by: 's avatarNaseem Ullah <naseemkullah@gmail.com>
parent 45bdf864
name: influxdb
version: 0.12.1
appVersion: 1.6
version: 1.0.0
appVersion: 1.7
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
- influxdb
......
approvers:
- jackzampolin
reviewers:
- jackzampolin
......@@ -80,3 +80,9 @@ Influxdb requires also a user to be set in order for authentication to be enforc
To handle this setup on startup, a job can be enabled in `values.yaml` by setting `.Values.setDefaultUser.enabled` to `true`.
Make sure to uncomment or configure the job settings after enabling it. If a password is not set, a random password will be generated.
## Upgrading
### From < 1.0.0 To >= 1.0.0
Values `.Values.config.bind_address` and `.Values.exposeRpc` no longer exist. They have been replaced with `.Values.config.rpc.bind_address` and `.Values.config.rpc.enabled` respectively. Please adjust your values file accordingly.
......@@ -11,7 +11,7 @@ metadata:
data:
influxdb.conf: |+
reporting-disabled = {{ .Values.config.reporting_disabled | default false }}
bind-address = ":{{ .Values.config.bind_address }}"
bind-address = ":{{ .Values.config.rpc.bind_address }}"
[meta]
dir = "{{ .Values.config.storage_directory }}/meta"
......
......@@ -58,10 +58,10 @@ spec:
port: {{ .Values.config.opentsdb.bind_address }}
targetPort: {{ .Values.config.opentsdb.bind_address }}
{{- end }}
{{- if .Values.exposeRpcService }}
{{- if .Values.config.rpc.enabled }}
- name: rpc
port: {{ .Values.config.bind_address }}
targetPort: {{ .Values.config.bind_address }}
port: {{ .Values.config.rpc.bind_address }}
targetPort: {{ .Values.config.rpc.bind_address }}
{{- end }}
selector:
app: {{ template "influxdb.fullname" . }}
......@@ -2,7 +2,7 @@
## ref: https://hub.docker.com/r/library/influxdb/tags/
image:
repo: "influxdb"
tag: "1.6-alpine"
tag: "1.7-alpine"
pullPolicy: IfNotPresent
## Specify a service type
......@@ -117,8 +117,10 @@ env:
## ref: https://docs.influxdata.com/influxdb/v1.1/administration/config/
config:
reporting_disabled: false
bind_address: 8088
storage_directory: /var/lib/influxdb
rpc:
enabled: true
bind_address: 8088
meta:
retention_autocreate: true
logging_enabled: true
......@@ -231,5 +233,3 @@ config:
log_enabled: true
enabled: true
run_interval: 1s
exposeRpcService: true
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