Commit efae268
examples: Fix egress-gateway-policy
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>1 parent 589164b commit efae268
1 file changed
Lines changed: 13 additions & 14 deletions
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
48 | 47 | | |
49 | | - | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
| 52 | + | |
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
| 56 | + | |
58 | 57 | | |
0 commit comments