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 name: influxdb
version: 0.12.1 version: 1.0.0
appVersion: 1.6 appVersion: 1.7
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
- influxdb - influxdb
......
approvers:
- jackzampolin
reviewers:
- jackzampolin
...@@ -80,3 +80,9 @@ Influxdb requires also a user to be set in order for authentication to be enforc ...@@ -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`. 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. 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: ...@@ -11,7 +11,7 @@ metadata:
data: data:
influxdb.conf: |+ influxdb.conf: |+
reporting-disabled = {{ .Values.config.reporting_disabled | default false }} reporting-disabled = {{ .Values.config.reporting_disabled | default false }}
bind-address = ":{{ .Values.config.bind_address }}" bind-address = ":{{ .Values.config.rpc.bind_address }}"
[meta] [meta]
dir = "{{ .Values.config.storage_directory }}/meta" dir = "{{ .Values.config.storage_directory }}/meta"
......
...@@ -58,10 +58,10 @@ spec: ...@@ -58,10 +58,10 @@ spec:
port: {{ .Values.config.opentsdb.bind_address }} port: {{ .Values.config.opentsdb.bind_address }}
targetPort: {{ .Values.config.opentsdb.bind_address }} targetPort: {{ .Values.config.opentsdb.bind_address }}
{{- end }} {{- end }}
{{- if .Values.exposeRpcService }} {{- if .Values.config.rpc.enabled }}
- name: rpc - name: rpc
port: {{ .Values.config.bind_address }} port: {{ .Values.config.rpc.bind_address }}
targetPort: {{ .Values.config.bind_address }} targetPort: {{ .Values.config.rpc.bind_address }}
{{- end }} {{- end }}
selector: selector:
app: {{ template "influxdb.fullname" . }} app: {{ template "influxdb.fullname" . }}
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## ref: https://hub.docker.com/r/library/influxdb/tags/ ## ref: https://hub.docker.com/r/library/influxdb/tags/
image: image:
repo: "influxdb" repo: "influxdb"
tag: "1.6-alpine" tag: "1.7-alpine"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
## Specify a service type ## Specify a service type
...@@ -117,8 +117,10 @@ env: ...@@ -117,8 +117,10 @@ env:
## ref: https://docs.influxdata.com/influxdb/v1.1/administration/config/ ## ref: https://docs.influxdata.com/influxdb/v1.1/administration/config/
config: config:
reporting_disabled: false reporting_disabled: false
bind_address: 8088
storage_directory: /var/lib/influxdb storage_directory: /var/lib/influxdb
rpc:
enabled: true
bind_address: 8088
meta: meta:
retention_autocreate: true retention_autocreate: true
logging_enabled: true logging_enabled: true
...@@ -231,5 +233,3 @@ config: ...@@ -231,5 +233,3 @@ config:
log_enabled: true log_enabled: true
enabled: true enabled: true
run_interval: 1s 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