Skip to content

Conversation

borkmann
Copy link
Member

@borkmann borkmann commented Feb 28, 2020

See commit msg. /cc @brb


This change is Reviewable

@borkmann borkmann added pending-review area/daemon Impacts operation of the Cilium daemon. labels Feb 28, 2020
@borkmann borkmann requested a review from brb February 28, 2020 11:36
@borkmann borkmann requested a review from a team as a code owner February 28, 2020 11:36
@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

2 similar comments
@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

@borkmann borkmann added the release-note/misc This PR makes changes that have no direct user impact. label Feb 28, 2020
Right now setting NodePort range via helm is broken, similarly as
described in b365463 ("helm: fix host reachable services template
for cilium config map") for host-reachable services when we would want
to specify 'tcp,udp'. Given latter is default, it does not matter that
much, but users ran into the same issue for the NodePort range where
the string slice from configmap gets flattened into a string slice
of 1 element with a comma-separated list thus resulting into parsing
errors. Detect and fix both cases by strings.Split() on the comma.

Fixes: #10375
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Helm is a mess in that it needs a workaround to specify the comma
through '\,'. Given this is non-obvious, add an example.

Fixes: #10375
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
... and that this will be fixed in future Cilium versions.

Related: #10359
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
@borkmann borkmann force-pushed the pr/fix-range-parsing branch from 51dc6e9 to 829de82 Compare February 28, 2020 11:39
@borkmann
Copy link
Member Author

test-me-please

@borkmann
Copy link
Member Author

test-docs-please

@coveralls
Copy link

coveralls commented Feb 28, 2020

Coverage Status

Coverage decreased (-0.001%) to 45.552% when pulling 829de82 on pr/fix-range-parsing into 6d583fd on master.

@borkmann borkmann added release-note/bug This PR fixes an issue in a previous release of Cilium. and removed release-note/misc This PR makes changes that have no direct user impact. labels Feb 28, 2020
@borkmann borkmann merged commit b0a3d92 into master Feb 28, 2020
@borkmann borkmann deleted the pr/fix-range-parsing branch February 28, 2020 15:36
@brb brb mentioned this pull request Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon Impacts operation of the Cilium daemon. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants