dependencies: move dynamic common deps under a 'dynamic.common' key
This PS moves existing dynamic common dependencies under a 'dynamic.common' key to simplify the yaml tree. Change-Id: I4332bcfdf11197488e7bd5d8cf4c25565ea1c7b6
This commit is contained in:
@@ -18,7 +18,7 @@ limitations under the License.
|
||||
{{- $envAll := . }}
|
||||
{{- if .Values.images.local_registry.active -}}
|
||||
{{- $_ := set .Values "pod_dependency" dict -}}
|
||||
{{- $_ := include "helm-toolkit.utils.merge" (tuple .Values.pod_dependency .Values.dependencies.static.redis .Values.conditional_dependencies.local_image_registry) -}}
|
||||
{{- $_ := include "helm-toolkit.utils.merge" (tuple .Values.pod_dependency .Values.dependencies.static.redis .Values.dependencies.dynamic.common.local_image_registry) -}}
|
||||
{{- else -}}
|
||||
{{- $_ := set .Values "pod_dependency" .Values.dependencies.static.redis -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user