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

support kubectl annotate #1800

Open
michael-db opened this issue Jun 10, 2021 · 0 comments
Open

support kubectl annotate #1800

michael-db opened this issue Jun 10, 2021 · 0 comments

Comments

@michael-db
Copy link

What would you like to be added:
Support an "Annotate" task (with overwrite default) in addition to "Apply".

Why is this needed:
kubectl apply might suffice for adding an annotation if the yaml of the resource was available - but kudo also seems to offer no way to get the yaml of an existing resource: it assumes that the only resources you ever want to touch are those which the operator is creating, i.e., where you already have the yaml.

If there is some workaround, it's not obvious. As things stand, it looks like I need to create an operator-sdk program just for a very simple task of adding an annotation to an existing resource.

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

No branches or pull requests

1 participant