What happened:
To add labels in NodePool Spec in api version v1beta1 but nothing is set.
What you expected to happen:
spec.labels is expected in NodePool.
How to reproduce it (as minimally and precisely as possible):
1) deploy yurt-app-manager v0.6.0
2) create a nodepool with spec.labels in api version v1beta1
3) kubectl get nodepool -o yaml
Anything else we need to know?:
suspect that pkg/yurtappmanager/apis/apps/v1beta1/nodepool_conversion.go leads to this. No labels field is converted between v1alpha1 and v1beta1.
What happened: To add labels in NodePool Spec in api version v1beta1 but nothing is set.
What you expected to happen: spec.labels is expected in NodePool.
How to reproduce it (as minimally and precisely as possible): 1) deploy yurt-app-manager v0.6.0 2) create a nodepool with spec.labels in api version v1beta1 3) kubectl get nodepool -o yaml
Anything else we need to know?: suspect that pkg/yurtappmanager/apis/apps/v1beta1/nodepool_conversion.go leads to this. No labels field is converted between v1alpha1 and v1beta1.
Environment:
kubectl version
): 1.22others
/kind bug