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

Commit

Permalink
Added private topology (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored May 28, 2019
1 parent 5ea79c3 commit c6265f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/kops/kops-private-topology.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ spec:
- utility-{{ . }}
{{- end }}

{{ range (getenv "KOPS_AVAILABILITY_ZONES" | strings.Split ",") }}
{{ range (getenv "KOPS_MASTERS_AVAILABILITY_ZONES" ( getenv "KOPS_AVAILABILITY_ZONES" ) | strings.Split ",") }}

---
apiVersion: kops/v1alpha2
Expand Down Expand Up @@ -320,7 +320,7 @@ spec:
minSize: {{ getenv "NODE_MIN_SIZE" }}
role: Node
subnets:
{{- range (getenv "KOPS_AVAILABILITY_ZONES" | strings.Split ",") }}
{{- range (getenv "KOPS_NODES_AVAILABILITY_ZONES" ( getenv "KOPS_AVAILABILITY_ZONES" ) | strings.Split ",") }}
- {{ . }}
{{- end }}

Expand Down

0 comments on commit c6265f3

Please sign in to comment.