examples: Fix broken egress-policy-gateway example#40112
examples: Fix broken egress-policy-gateway example#40112joestringer merged 1 commit intocilium:mainfrom
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
qmonnet
left a comment
There was a problem hiding this comment.
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 |
|
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 <[email protected]>
Signed-off-by: Joe Stringer <[email protected]>
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