Fix deployment strategy location (#20898)

strategy field should be a part of deployment spec, not pod template
spec.

Signed-off-by: Igor Belikov <mail@igorbelikov.com>
This commit is contained in:
Igor Belikov
2020-02-20 21:02:32 -08:00
committed by GitHub
parent 6481a6f766
commit cc4eae99d1
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: Scales worker nodes within autoscaling groups.
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
name: cluster-autoscaler
version: 6.5.0
version: 6.6.0
appVersion: 1.14.6
home: https://github.com/kubernetes/autoscaler
sources:
@@ -14,6 +14,10 @@ spec:
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 6 }}
{{- end }}
{{- if .Values.updateStrategy }}
strategy:
{{ toYaml .Values.updateStrategy | nindent 4 | trim }}
{{- end }}
template:
metadata:
{{- if .Values.podAnnotations }}
@@ -194,10 +198,6 @@ spec:
securityContext:
{{ toYaml .Values.securityContext | nindent 8 | trim }}
{{- end }}
{{- if .Values.updateStrategy }}
strategy:
{{ toYaml .Values.updateStrategy | nindent 8 | trim }}
{{- end }}
{{- if eq .Values.cloudProvider "gce" }}
volumes:
- name: cloudconfig