Skip to content
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

Add LabelSelector and refactor source with model #1775

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

seokho-son
Copy link
Member

  • 대부분의 CB-TB 리소스 오브젝트에, Label 기능 추가

  • Kubernetes 수준의 LabelSelector 기능 제공

    • Get resources based on a label selector. The label selector supports the following operators:
      • = : Selects resources where the label key equals the specified value (e.g., env=production).
      • != : Selects resources where the label key does not equal the specified value (e.g., tier!=frontend).
      • in : Selects resources where the label key is in the specified set of values (e.g., region in (us-west, us-east)).
      • notin : Selects resources where the label key is not in the specified set of values (e.g., env notin (production, staging)).
      • exists : Selects resources where the label key exists (e.g., env exists).
      • !exists : Selects resources where the label key does not exist (e.g., env !exists).
  • 주요 type struct들을 model pkg로 이동 및 전체 정리

    • 또.. 눈빠지게 많은 수정 죄송합니다. 그래도 앞으로 더 편해지실 거예요.... ( @yunkon-kim @sykim-etri )

image

@seokho-son
Copy link
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Aug 26, 2024
@cb-github-robot cb-github-robot merged commit a01eede into cloud-barista:main Aug 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved This PR is approved and will be merged soon. src
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants