[common] Add args option to mainContainer (#253)

Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <6213398+bjw-s@users.noreply.github.com>
This commit is contained in:
Mike K 2020-11-26 13:11:01 +00:00 committed by GitHub
parent e6a9d994f9
commit 45b6282a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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 }}

View File

@ -12,6 +12,9 @@ strategy:
## DaemonSets ignore this
type: RollingUpdate
# Override the default args
args: []
# Set annotations on the pod
podAnnotations: {}