-
Notifications
You must be signed in to change notification settings - Fork 3.4k
examples: Fix broken egress-policy-gateway example #40112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Commits 776262d, c4e5af4, 8e4b2a4, ee54a0f do not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
ee54a0f
to
408913f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
I've got some minor comments, please see inline below.
Can you please also slightly shorten your longest commit subjects to make CI happy?:
Error: ERROR:CUSTOM: Please avoid long commit subjects (max: 75, found: 78)
408913f
to
70ff526
Compare
8cb9dbb
to
a1c742d
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
cc @carlos-abad did you test this example doc as part of your development for #39304 ? |
There's two transient failures that both exhibit the symptom outlined in #40456 . I filed an issue for it, but I don't think this needs to block the merge. Thanks for fixing this up. I don't know why a broken example was added into the tree previously, but this fixes the example for me (at least to the point of adding the resource into the kube-apiserver). main:
This PR:
|
Previously: $ k apply -f examples/kubernetes-egress-gateway/egress-gateway-policy.yaml The CiliumEgressGatewayPolicy "egress-sample" is invalid: * spec.egressGateway.nodeSelector.matchLabels.egress-node: Invalid value: "boolean": spec.egressGateway.nodeSelector.matchLabels.egress-node in body must be of type string: "boolean" * spec.egressGateways[0].nodeSelector.matchLabels.egress-node: Invalid value: "boolean": spec.egressGateways[0].nodeSelector.matchLabels.egress-node in body must be of type string: "boolean" * spec.egressGateways[1].nodeSelector.matchLabels.egress-node-2: Invalid value: "boolean": spec.egressGateways[1].nodeSelector.matchLabels.egress-node-2 in body must be of type string: "boolean" * spec.egressGateways[2].nodeSelector.matchLabels.egress-node-3: Invalid value: "boolean": spec.egressGateways[2].nodeSelector.matchLabels.egress-node-3 in body must be of type string: "boolean" Fixes: 9b81aed ("pkg/egressgateway: Add documentation for multigateway") Signed-off-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Signed-off-by: Joe Stringer <joe@cilium.io>
a1c742d
to
040b89a
Compare
I squashed the commits together and clarified the impact / fix in the commit message. Merging. |
Thank Joe and the rest for fixing the issue. It looks like this was a pre-existing issue in the test file. Thank you for catching it. |
Fix some minor typo and indent