You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
I want to add annotation to spec.template.metadata.annotation whether annotation fileld is exist, but plaintext overide unable to achieve this goal.
wu0407
changed the title
unable add annotation use plaintext overide whether annotation fileld is exist
unable add annotation use plaintext overide whether annotation fileld is exist or not exist
Aug 9, 2023
What happened:
I want to add annotation to
spec.template.metadata.annotation
whether annotation fileld is exist, but plaintext overide unable to achieve this goal.direct add annotation
configuration:
It is ok on spec.template.metadata.annotations is exist.
result
It is not ok on spec.template.metadata.annotations is not exist.
result:
Another way is add annotation field first, then add annotation. But It is not work.
configuration:
It is not ok on spec.template.metadata.annotations is exist.
result
It is ok on spec.template.metadata.annotations is not exist.
result:
the last method is one deployment one configuration, so inconvenient.
What you expected to happen:
add new annotation successed
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: