Commit 67dfc5a
cilium-cli/clustermesh: Fix bad type for service type
Helm expects /clustermesh/apiserver/service/type to be a string
according to install/kubernetes/cilium/values.schema.json:1404, but
it was passed as a v1.ServiceType causing the following error:
```
cilium clustermesh enable --context cluster1
🔮 Auto-exposing service within Azure VPC (service.beta.kubernetes.io/azure-load-balancer-internal)
Error: Unable to enable ClusterMesh: values don't meet the specifications of the schema(s) in the following chart(s):
cilium:
- at '/clustermesh/apiserver/service/type': invalid jsonType v1.ServiceType
```
This is fixed by casting it to a string.
Fixes: 112e08d ("clustermesh: fix hardcode at service type")
Signed-off-by: Mauricio Vásquez <mauriciov@microsoft.com>1 parent 52b2145 commit 67dfc5a
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1005 | 1005 | | |
1006 | 1006 | | |
1007 | 1007 | | |
1008 | | - | |
| 1008 | + | |
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
| |||
1017 | 1017 | | |
1018 | 1018 | | |
1019 | 1019 | | |
1020 | | - | |
| 1020 | + | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
1030 | | - | |
| 1030 | + | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
| |||
0 commit comments