Skip to content

Commit

Permalink
salt: Support 127.0.0.1 hostPort
Browse files Browse the repository at this point in the history
Before this commit we only support hostPort on workloadPlane IP, this
commit also add `127.0.0.1` as supported hostPort

NOTE: It's needed for Kubernetes conformance tests for Kubernetes 1.20+
  • Loading branch information
TeddyAndrieux committed May 26, 2021
1 parent 761578c commit ee5ee2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# CHANGELOG

## Release 2.9.3 (in development)
## Enhancements
- Allow hostPort on 127.0.0.1
(PR[#XX](https://github.com/scality/metalk8s/pull/XX))

## Release 2.9.2
### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion salt/metalk8s/kubernetes/cni/calico/configured.sls
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Create CNI calico configuration file:
snat: true
capabilities:
portMappings: true
conditionsV4: ["-d", "{{ grains.metalk8s.workload_plane_ip }}/32"]
conditionsV4: ["-d", "{{ grains.metalk8s.workload_plane_ip }}/32,127.0.0.1/32"]
# Note: Calico upstream enables the `bandwidth` CNI plugin by default.
# However, this plugin (executable) is not available in the CNI RPM
# package we currently install. Hence, not enabling this functionality
Expand Down

0 comments on commit ee5ee2a

Please sign in to comment.