Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.

Commit c6265f3

Browse files
authored
Added private topology (#33)
1 parent 5ea79c3 commit c6265f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/kops/kops-private-topology.yaml.gotmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ spec:
283283
- utility-{{ . }}
284284
{{- end }}
285285

286-
{{ range (getenv "KOPS_AVAILABILITY_ZONES" | strings.Split ",") }}
286+
{{ range (getenv "KOPS_MASTERS_AVAILABILITY_ZONES" ( getenv "KOPS_AVAILABILITY_ZONES" ) | strings.Split ",") }}
287287

288288
---
289289
apiVersion: kops/v1alpha2
@@ -320,7 +320,7 @@ spec:
320320
minSize: {{ getenv "NODE_MIN_SIZE" }}
321321
role: Node
322322
subnets:
323-
{{- range (getenv "KOPS_AVAILABILITY_ZONES" | strings.Split ",") }}
323+
{{- range (getenv "KOPS_NODES_AVAILABILITY_ZONES" ( getenv "KOPS_AVAILABILITY_ZONES" ) | strings.Split ",") }}
324324
- {{ . }}
325325
{{- end }}
326326

0 commit comments

Comments
 (0)