diff --git a/charts/stable/common/templates/lib/controller/_container.tpl b/charts/stable/common/templates/lib/controller/_container.tpl index 300cdeb6..e79c8db7 100644 --- a/charts/stable/common/templates/lib/controller/_container.tpl +++ b/charts/stable/common/templates/lib/controller/_container.tpl @@ -76,7 +76,7 @@ volumeMounts: {{- nindent 4 . }} {{- end }} - {{- include "common.controller.probes" . | trim | nindent 2 }} + {{- include "common.controller.extraspec" . | trim | nindent 2 }} {{- with .Values.resources }} resources: {{- toYaml . | nindent 4 }} diff --git a/charts/stable/common/templates/lib/controller/_extraspec.tpl b/charts/stable/common/templates/lib/controller/_extraspec.tpl new file mode 100644 index 00000000..01ff71f2 --- /dev/null +++ b/charts/stable/common/templates/lib/controller/_extraspec.tpl @@ -0,0 +1,5 @@ +{{- define "common.controller.extraspec" -}} +{{- with .Values.extraSpec }} +{{- toYaml . | nindent 2 }} +{{- end }} +{{- end -}} \ No newline at end of file diff --git a/charts/stable/common/values.yaml b/charts/stable/common/values.yaml index ee2261b9..23c3c81e 100644 --- a/charts/stable/common/values.yaml +++ b/charts/stable/common/values.yaml @@ -37,6 +37,8 @@ controller: # -- Set statefulset podManagementPolicy, valid values are Parallel and OrderedReady (default). podManagementPolicy: +extraSpec: {} + image: # -- image repository repository: