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

[Question] YurtAppSet tweaks.patches error: doc is missing path: "/metadata/labels/test": missing value #2202

Open
shyer opened this issue Nov 23, 2024 · 2 comments · May be fixed by openyurtio/openyurt.io#503
Assignees
Labels
kind/question kind/question

Comments

@shyer
Copy link

shyer commented Nov 23, 2024

What happened:
https://openyurt.io/zh/docs/next/user-manuals/workload/yurt-app-set#%E5%88%9B%E5%BB%BA-yurtappset
kubectl create -f yurtappset_test.yaml

Error from server (Forbidden): error when creating "yurtappset_test.yaml": admission webhook "vyurtappset.kb.io" denied the request: add operation does not apply: doc is missing path: "/metadata/labels/test": missing value

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
evanphx/json-patch#138
https://github.com/KusionStack/kusion/pull/1274/files

Environment:

  • OpenYurt version:
  • Kubernetes version (use kubectl version):
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

others
/kind question

@shyer shyer added the kind/question kind/question label Nov 23, 2024
@rambohe-ch
Copy link
Member

@vie-serendipity PTAL

@vie-serendipity
Copy link
Member

/assign @vie-serendipity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question kind/question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants