-
Notifications
You must be signed in to change notification settings - Fork 892
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
operator/config/samples/karmada.yaml may be not valid #4128
Comments
/assign |
cc @calvin0327 Hi~ have you made some progress? if not, can I take this? |
@calvin0327 Hi~ Since you haven't replied yet, I’ll take it first~ Of course, if you have some ideas and suggestions too, be free to share them here |
As can be seen from the error log, karmada does not have the karmada/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go Lines 109 to 119 in cf1dbf0
It can be seen from the historical submission records that the above conversion process is completed using the Referring to kubernetes-sigs/controller-tools#557, embedded ObjectMeta in the CRD get's properly generated if the generator option |
@zhzhuang-zju great job~ |
@zhzhuang-zju would you like to push a PR to fix it? |
Of course, I'd love to~ |
What happened:
When installing karmada by operator, karmada provided a sample
karmada.yaml
.we do like this:
there will report
karmada.yaml
has syntax error:I wanna if others think it is a problem, or these configurations have some special purpose?
What you expected to happen:
install success
How to reproduce it (as minimally and precisely as possible):
see above
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
): latestThe text was updated successfully, but these errors were encountered: