1. Add release label into chart. (#19846)

Signed-off-by: youngman <shengquan.bu@iquantex.com>
This commit is contained in:
spring-bu
2020-01-04 04:19:40 -08:00
committed by Kubernetes Prow Robot
parent 87beb86f7c
commit fe8fb27138
4 changed files with 20 additions and 17 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: influxdb
version: 3.1.0
version: 3.1.1
appVersion: 1.7.6
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
+1 -1
View File
@@ -91,7 +91,7 @@ Values `.Values.config.bind_address` and `.Values.exposeRpc` no longer exist. Th
### 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.
The Kubernetes API change to support 1.160 may not be backwards compatible and may require the chart to be uninstalled in order to upgrade. See [this issue](https://github.com/helm/helm/issues/6583) for some background.
### From < 3.0.0 to >= 3.0.0
+1
View File
@@ -65,3 +65,4 @@ spec:
{{- end }}
selector:
app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}"
+17 -15
View File
@@ -12,17 +12,34 @@ spec:
selector:
matchLabels:
app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}"
serviceName: "{{ template "influxdb.fullname" . }}"
template:
metadata:
labels:
app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}"
chart: "{{ template "influxdb.chart" . }}"
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.schedulerName }}
schedulerName: "{{ .Values.schedulerName }}"
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end -}}
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
@@ -104,21 +121,6 @@ spec:
- name: {{ template "influxdb.fullname" . }}-data
emptyDir: {}
{{- end }}
{{- if .Values.schedulerName }}
schedulerName: "{{ .Values.schedulerName }}"
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{- end -}}
{{- if .Values.affinity }}
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{- end }}
{{- if .Values.persistence.enabled }}
volumeClaimTemplates:
- metadata: