Port some changes from KAH common 3.1.0 (#556)

This commit is contained in:
Kjeld Schouten-Lebbing
2021-06-14 11:24:24 +02:00
committed by GitHub
parent 3a9b6cc552
commit 614790c8cc
3 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -18,4 +18,4 @@ maintainers:
name: common name: common
sources: sources:
type: library type: library
version: 6.1.1 version: 6.2.0
+2
View File
@@ -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 }}
+2
View File
@@ -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