Channels
pulumi-ai
package-authoring
pulumi-cdk
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
cloudengineering
yaml
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
blog-posts
localstack
welcome
gitlab
pulumi-kubernetes-operator
jobs
aws
pulumi-deployments
dotnet
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
general
Powered by
Title
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
{ 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
#general
Join Slack