Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

NodePool Spec Labels is gone #131

@AndyEWang

Description

@AndyEWang

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.

	dst.Spec.Selector = src.Spec.Selector
	dst.Spec.Annotations = src.Spec.Annotations
	dst.Spec.Taints = src.Spec.Taints

Environment:

  • OpenYurt version: yurt-app-manager v0.6.0
  • Kubernetes version (use kubectl version): 1.22

others

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions