Join Slack
Powered by
Hi Everyone, Im trying to use <https://www.pulumi....
# general
b
boundless-engineer-23836
08/23/2022, 8:21 PM
Hi Everyone, Im trying to use
https://www.pulumi.com/registry/packages/kubernetes/api-docs/apps/v1/deploymentpatch/
to remove an annotation within a deployment spec. if i set the annotation to something like
Copy code
{ annotations: {"annotation/fix": ""}}
it sets it to an empty string as expected. Is there a way to remove that annotation completely?
a
adorable-computer-41765
08/23/2022, 9:09 PM
Have you given this a try:
https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/#delete-an-existing-field-using-patch
Open in Slack
Previous
Next