Commit 4aa4ffb4 authored by spring-bu's avatar spring-bu Committed by Kubernetes Prow Robot

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

parent 7d6d6747
apiVersion: v1 apiVersion: v1
name: influxdb name: influxdb
version: 3.1.0 version: 3.1.1
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:
......
...@@ -91,7 +91,7 @@ Values `.Values.config.bind_address` and `.Values.exposeRpc` no longer exist. Th ...@@ -91,7 +91,7 @@ Values `.Values.config.bind_address` and `.Values.exposeRpc` no longer exist. Th
### From < 1.5.0 to >= 2.0.0 ### 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 ### From < 3.0.0 to >= 3.0.0
......
...@@ -65,3 +65,4 @@ spec: ...@@ -65,3 +65,4 @@ spec:
{{- end }} {{- end }}
selector: selector:
app: {{ template "influxdb.fullname" . }} app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}"
...@@ -12,17 +12,34 @@ spec: ...@@ -12,17 +12,34 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: {{ template "influxdb.fullname" . }} app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}"
serviceName: "{{ template "influxdb.fullname" . }}" serviceName: "{{ template "influxdb.fullname" . }}"
template: template:
metadata: metadata:
labels: labels:
app: {{ template "influxdb.fullname" . }} app: {{ template "influxdb.fullname" . }}
release: "{{ .Release.Name }}" release: "{{ .Release.Name }}"
chart: "{{ template "influxdb.chart" . }}"
{{- if .Values.podAnnotations }} {{- if .Values.podAnnotations }}
annotations: annotations:
{{ toYaml .Values.podAnnotations | indent 8 }} {{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }} {{- end }}
spec: 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 }} {{- if .Values.image.pullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- range .Values.image.pullSecrets }} {{- range .Values.image.pullSecrets }}
...@@ -104,21 +121,6 @@ spec: ...@@ -104,21 +121,6 @@ spec:
- name: {{ template "influxdb.fullname" . }}-data - name: {{ template "influxdb.fullname" . }}-data
emptyDir: {} emptyDir: {}
{{- end }} {{- 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 }} {{- if .Values.persistence.enabled }}
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
......
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