diff --git a/library/common/1.0.0/templates/lib/controller/_container.tpl b/library/common/1.0.0/templates/lib/controller/_container.tpl index 26536d977d..6a56ce134d 100644 --- a/library/common/1.0.0/templates/lib/controller/_container.tpl +++ b/library/common/1.0.0/templates/lib/controller/_container.tpl @@ -3,6 +3,8 @@ - name: {{ include "ix.v1.common.names.fullname" . }} image: {{/* TODO: */}} imagePullPolicy: {{ .Values.image.pullPolicy }} + tty: {{ .Values.tty }} + stdin: {{ .Values.stdin }} {{- with (include "ix.v1.common.container.command" (dict "commands" .Values.command "root" $)) | trim }} command: {{- . | nindent 4 }} @@ -11,16 +13,6 @@ args: {{- . | nindent 4 }} {{- end -}} - {{- if .Values.tty }} - tty: true - {{- else }} - tty: false - {{- end }} - {{- if .Values.stdin }} - stdin: true - {{- else }} - stdin: false - {{- end }} {{- with (include "ix.v1.common.container.securityContext" .) | trim }} securityContext: {{- . | nindent 4 }} diff --git a/library/common/_docs/Values.yaml Explained.md b/library/common/_docs/Values.yaml Explained.md index 81d3921e93..21d206f111 100644 --- a/library/common/_docs/Values.yaml Explained.md +++ b/library/common/_docs/Values.yaml Explained.md @@ -205,7 +205,7 @@ Sets all `key: value` pairs to: ## command -Override the command(s) for the default container +Override the command(s) for the main container
Show / Hide @@ -243,7 +243,7 @@ Coverts command to a list and sets it to: ## args -Override the args for the default container +Override the args for the main container
Show / Hide @@ -277,7 +277,7 @@ Coverts args to a list and sets it to: ## extraArgs -Appends args to the `args` for the default container. +Appends args to the `args` for the main container. If no `args` are defined, `extraArgs` will still be set. Mainly built for the SCALE GUI @@ -313,7 +313,7 @@ Coverts extraArgs to a list and appends it to: ## tty -Specifies whether the default container in a pod runs with `TTY` enabled. +Specifies whether the main container in a pod runs with `TTY` enabled.
Show / Hide @@ -339,7 +339,7 @@ Sets tty to: ## stdin -Specifies whether the default container in a pod runs with `stdin` enabled. +Specifies whether the main container in a pod runs with `stdin` enabled.
Show / Hide @@ -385,7 +385,7 @@ podSecurityContext: ## securityContext -Configure the Security Context for the default container +Configure the Security Context for the main container
Show / Hide @@ -405,7 +405,7 @@ securityContext: ### privileged -Specifies privileged status on securityContext for the default container +Specifies privileged status on securityContext for the main container
Show / Hide @@ -433,7 +433,7 @@ Sets privileged on securityContext to: ### readOnlyRootFilesystem -Specifies readOnlyRootFilesystem status on securityContext for the default container +Specifies readOnlyRootFilesystem status on securityContext for the main container
Show / Hide @@ -461,7 +461,7 @@ Sets readOnlyRootFilesystem on securityContext to: ### allowPrivilegeEscalation -Specifies allowPrivilegeEscalation status on securityContext for the default container +Specifies allowPrivilegeEscalation status on securityContext for the main container
Show / Hide @@ -489,7 +489,7 @@ Sets allowPrivilegeEscalation on securityContext to: ### runAsNonRoot -Specifies runAsNonRoot status on securityContext for the default container +Specifies runAsNonRoot status on securityContext for the main container
Show / Hide @@ -517,7 +517,7 @@ Sets runAsNonRoot on securityContext to: ### capabilities -Specifies capabilities to add or drop on securityContext for the default container +Specifies capabilities to add or drop on securityContext for the main container
Show / Hide @@ -552,7 +552,7 @@ Sets capabilities to add or drop on securityContext to: ## lifecycle -Configure the lifecycle for the default container. +Configure the lifecycle for the main container.
Show / Hide @@ -590,7 +590,7 @@ Sets lifecycle to: ## termination -Configure the termination for the default container. +Configure the termination for the main container.
Show / Hide @@ -605,7 +605,7 @@ termination: ### messagePath -Configure the path at which the file to which the default container's +Configure the path at which the file to which the main container's termination message will be written