Commit d0067126 authored by Jeff Billimek's avatar Jeff Billimek Committed by Kubernetes Prow Robot

[stable/influxdb] update to support k8s v1.16 (#18240)

* update to support k8s v1.16 Signed-off-by: 's avatarJeff Billimek <jeffrey_k_billimek@homedepot.com> * adding necessary matchLabels Signed-off-by: 's avatarJeff Billimek <jeff@billimek.com> * Bump major version and update readme Signed-off-by: 's avatarJeff Billimek <jeff@billimek.com> * bumping chart version not appversion Signed-off-by: 's avatarJeff Billimek <jeff@billimek.com>
parent f8e1b02a
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 1.5.0 version: 2.0.0
appVersion: 1.7.6 appVersion: 1.7.6
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -86,3 +86,7 @@ Make sure to uncomment or configure the job settings after enabling it. If a pas ...@@ -86,3 +86,7 @@ Make sure to uncomment or configure the job settings after enabling it. If a pas
### From < 1.0.0 To >= 1.0.0 ### 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. 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.
### From < 1.5.0 to >= 2.0.0
The Kubernetes API change to support 1.160 may not be backwards compatible and may require the chare to be uninstalled in order to upgrade. See [this issue](https://github.com/helm/helm/issues/6583) for some background.
apiVersion: extensions/v1beta1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: "{{ template "influxdb.fullname" . }}" name: "{{ template "influxdb.fullname" . }}"
...@@ -9,6 +9,10 @@ metadata: ...@@ -9,6 +9,10 @@ metadata:
heritage: "{{ .Release.Service }}" heritage: "{{ .Release.Service }}"
spec: spec:
replicas: 1 replicas: 1
selector:
matchLabels:
app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}"
template: template:
metadata: metadata:
labels: labels:
......
{{- if .Values.ingress.enabled -}} {{- if .Values.ingress.enabled -}}
apiVersion: extensions/v1beta1 apiVersion: networking.k8s.io/v1beta1
kind: Ingress kind: Ingress
metadata: metadata:
name: "{{ template "influxdb.fullname" . }}" name: "{{ template "influxdb.fullname" . }}"
......
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