Skip to content

Commit 6e2725a

Browse files
fix(ci): render infra config
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
1 parent 0ff84cb commit 6e2725a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ group: {{ $prefix }}
1616
{{- $ctx := index . 0 -}}
1717
{{- $name := index . 1 -}}
1818
{{- $cfg := index . 2 -}}
19-
{{- $clusterNetworkName := dig $ctx.Values "networkConfig" "clusterNetworkName" "" -}}
19+
{{- $networkConfig := get $ctx.Values.instances "networkConfig" | default dict -}}
20+
{{- $clusterNetworkName := get $networkConfig "clusterNetworkName" | default "" -}}
21+
2022
---
2123
apiVersion: virtualization.deckhouse.io/v1alpha2
2224
kind: VirtualMachine

0 commit comments

Comments
 (0)