Skip to content

Commit b83d710

Browse files
Update test/dvp-static-cluster/charts/infra/templates/_helpers.tpl
Co-authored-by: Ivan Mikheykin <ivan.mikheykin@flant.com> Signed-off-by: Nikita Korolev <141920865+universal-itengineer@users.noreply.github.com>
1 parent 692b290 commit b83d710

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/dvp-static-cluster/charts/infra/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ group: {{ $prefix }}
1616
{{- $ctx := index . 0 -}}
1717
{{- $name := index . 1 -}}
1818
{{- $cfg := index . 2 -}}
19-
{{- $clusterNetworkName := index $ctx.Values "networkConfig" | default dict | index "clusterNetworkName" -}}
19+
{{- $clusterNetworkName := dig $ctx.Values "networkConfig" "clusterNetworkName" "" -}}
2020
---
2121
apiVersion: virtualization.deckhouse.io/v1alpha2
2222
kind: VirtualMachine

0 commit comments

Comments
 (0)