mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/etcd-operator] deployment typos and add tolerations (#4139)
* stable etcd chart: fixed deployment typo extra space in yamls. added optional tolerations to deployments. fixed restore pod, service label and selector mismatch
* fixed {{- end}} typos. changed restore operator app label to use `name` instead of `fullname`
* incremented chart patch
* (fix): add consistent space
This commit is contained in:
committed by
k8s-ci-robot
parent
97feacc3b5
commit
d43d09ab91
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: CoreOS etcd-operator Helm chart for Kubernetes
|
||||
name: etcd-operator
|
||||
version: 0.7.2
|
||||
version: 0.7.3
|
||||
appVersion: 0.7.0
|
||||
home: https://github.com/coreos/etcd-operator
|
||||
icon: https://raw.githubusercontent.com/coreos/etcd/master/logos/etcd-horizontal-color.png
|
||||
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
image: "{{ .Values.backupOperator.image.repository }}:{{ .Values.backupOperator.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.backupOperator.image.pullPolicy }}
|
||||
command:
|
||||
- etcd-backup-operator
|
||||
- etcd-backup-operator
|
||||
{{- range $key, $value := .Values.backupOperator.commandArgs }}
|
||||
- "--{{ $key }}={{ $value }}"
|
||||
{{- end }}
|
||||
@@ -48,4 +48,8 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.backupOperator.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end}}
|
||||
{{- if .Values.backupOperator.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.backupOperator.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -24,7 +24,7 @@ spec:
|
||||
image: "{{ .Values.etcdOperator.image.repository }}:{{ .Values.etcdOperator.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.etcdOperator.image.pullPolicy }}
|
||||
command:
|
||||
- etcd-operator
|
||||
- etcd-operator
|
||||
{{- range $key, $value := .Values.etcdOperator.commandArgs }}
|
||||
- "--{{ $key }}={{ $value }}"
|
||||
{{- end }}
|
||||
@@ -48,4 +48,8 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.etcdOperator.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.etcdOperator.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.etcdOperator.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
metadata:
|
||||
name: {{ template "etcd-restore-operator.fullname" . }}
|
||||
labels:
|
||||
app: {{ template "etcd-restore-operator.fullname" . }}
|
||||
app: {{ template "etcd-restore-operator.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
serviceAccountName: {{ template "etcd-restore-operator.serviceAccountName" . }}
|
||||
@@ -26,7 +26,7 @@ spec:
|
||||
ports:
|
||||
- containerPort: {{ .Values.restoreOperator.port }}
|
||||
command:
|
||||
- etcd-restore-operator
|
||||
- etcd-restore-operator
|
||||
{{- range $key, $value := .Values.restoreOperator.commandArgs }}
|
||||
- "--{{ $key }}={{ $value }}"
|
||||
{{- end }}
|
||||
@@ -52,4 +52,8 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.restoreOperator.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end}}
|
||||
{{- if .Values.restoreOperator.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.restoreOperator.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -17,4 +17,4 @@ spec:
|
||||
selector:
|
||||
app: {{ template "etcd-restore-operator.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user