Closed yjqg6666 closed 1 year ago
Thanks for report this problem, I will try to solve it.
Hey, bro, have you solved the problem yet?
Hey, bro, have you solved the problem yet?
Not yet, if you are interesting in it, just do it :)
Fixed in: https://github.com/nacos-group/nacos-k8s/pull/417
Waiting for merge, but it is maybe a long time work.
Pass by yq, no error.
Version: master / fcf35b6ab39b5aace3dabe33a0af6916aedc2770
$ kubectl apply -f chart/nacos-operator/nacos-operator-all.yaml
serviceaccount/nacos-operator created
Warning: apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
customresourcedefinition.apiextensions.k8s.io/nacos.nacos.io created
error: error parsing chart/nacos-operator/nacos-operator-all.yaml: error converting YAML to JSON: yaml: line 46: did not find expected '-' indicator
$ yq -P -o json ./nacos-operator-all.yaml >/dev/null Error: bad file './nacos-operator-all.yaml': yaml: line 1282: did not find expected '-' indicator