Port some changes from KAH common 3.1.0 (#556)
This commit is contained in:
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources:
|
sources:
|
||||||
type: library
|
type: library
|
||||||
version: 6.1.1
|
version: 6.2.0
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ Main entrypoint for the common library chart. It will render all underlying temp
|
|||||||
{{- include "common.serviceAccount" . }}
|
{{- include "common.serviceAccount" . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .Values.controller.enabled }}
|
||||||
{{- if eq .Values.controller.type "deployment" }}
|
{{- if eq .Values.controller.type "deployment" }}
|
||||||
{{- include "common.deployment" . | nindent 0 }}
|
{{- include "common.deployment" . | nindent 0 }}
|
||||||
{{ else if eq .Values.controller.type "daemonset" }}
|
{{ else if eq .Values.controller.type "daemonset" }}
|
||||||
@@ -21,6 +22,7 @@ Main entrypoint for the common library chart. It will render all underlying temp
|
|||||||
{{ else }}
|
{{ else }}
|
||||||
{{- fail (printf "Not a valid controller.type (%s)" .Values.controller.type) }}
|
{{- fail (printf "Not a valid controller.type (%s)" .Values.controller.type) }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{ include "common.classes.hpa" . | nindent 0 }}
|
{{ include "common.classes.hpa" . | nindent 0 }}
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ global:
|
|||||||
fullnameOverride:
|
fullnameOverride:
|
||||||
|
|
||||||
controller:
|
controller:
|
||||||
|
# -- enable the controller.
|
||||||
|
enabled: true
|
||||||
# -- Set the controller type.
|
# -- Set the controller type.
|
||||||
# Valid options are deployment, daemonset or statefulset
|
# Valid options are deployment, daemonset or statefulset
|
||||||
type: deployment
|
type: deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user