diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 425ceb70..e1a2a31c 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: common description: Function library for k8s-at-home charts type: library -version: 1.6.2 +version: 1.7.0 keywords: - k8s-at-home - common diff --git a/charts/common/templates/lib/controller/_container.tpl b/charts/common/templates/lib/controller/_container.tpl index 1f8bdaa9..4fbc9ceb 100644 --- a/charts/common/templates/lib/controller/_container.tpl +++ b/charts/common/templates/lib/controller/_container.tpl @@ -5,6 +5,9 @@ The main container included in the controller. - name: {{ include "common.names.fullname" . }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + {{- with .Values.args }} + args: {{ . }} + {{- end }} {{- with .Values.securityContext }} securityContext: {{- toYaml . | nindent 4 }} diff --git a/charts/common/values.yaml b/charts/common/values.yaml index 4afa1e14..d2bf1408 100644 --- a/charts/common/values.yaml +++ b/charts/common/values.yaml @@ -12,6 +12,9 @@ strategy: ## DaemonSets ignore this type: RollingUpdate +# Override the default args +args: [] + # Set annotations on the pod podAnnotations: {}