Skip to content

Commit

Permalink
Keep things simpler, remove GS VPN IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
fiunchinho committed Sep 28, 2023
1 parent 8c6f38d commit 695bdc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Add `controlPlane.allowList` to configure control plane load balancer ingress rules. It always adds GiantSwarm VPN IPs.
- Add `controlPlane.allowList` to configure control plane load balancer ingress rules.

### Changed

Expand Down
6 changes: 2 additions & 4 deletions helm/cluster-aws/templates/_aws_cluster.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,15 @@ spec:
{{- end }}
controlPlaneLoadBalancer:
scheme: {{ if (eq .Values.controlPlane.apiMode "public") }}internet-facing{{ else }}internal{{ end }}
{{- if .Values.controlPlane.allowList }}
ingressRules:
- description: "Kubernetes API"
protocol: tcp
fromPort: 6443
toPort: 6443
cidrBlocks:
- 95.179.153.65/32
- 185.102.95.187/32
{{- if .Values.controlPlane.allowList }}
{{- toYaml .Values.controlPlane.allowList | nindent 6 }}
{{- end }}
{{- end }}
network:
cni:
cniIngressRules:
Expand Down

0 comments on commit 695bdc6

Please sign in to comment.