mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user