TrueChartsClone/charts/stable/portainer/templates/common.yaml

11 lines
474 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- $newArgs := (include "portainer.args" . | fromYaml) }}
{{- $_ := set .Values "newArgs" $newArgs -}}
{{- $args := concat ((get .Values.workload.main.podSpec.containers.main "args") | default list) .Values.newArgs.args }}
{{- $_ := set .Values.workload.main.podSpec.containers.main "args" $args -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}