-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
When removing fields from the yaml body, they are not removed from the applied manifest #174
Comments
Can you provide an example?
…On Tue, 24 Sept 2024, 11:04 Sander van Harmelen, ***@***.***> wrote:
When using the kubectl_manifest resource it only seems to update existing
fields or add new fields to a deployed/applied manifest, but when you
remove a field, the field is not removed from the manifest.
Is that by design or am I doing something wrong? I tried using server side
applies but that didn't seem to make any differences.
—
Reply to this email directly, view it on GitHub
<#174>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACJ5VZGV4JRPLCSSTUFYPDZYE2MNAVCNFSM6AAAAABOX5URTGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2DIOJVGAZTSMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I think so, will see if I can create a simple test case that I can share... |
Didn't forget this one, but need to find some time. Maybe I can make some time this weekend. Will update when I have something you can test with... |
Sorry for taking so long! I just encountered this again today and will try to make a simple example in the coming days! |
When trying to make a custom example it turns out I cannot reproduce it. So I'm assuming that whatever I saw, was not due to this resource but probably due to an operator also touching the same resource. Going to dig into that one further and will close this issue... |
When using the
kubectl_manifest
resource it only seems to update existing fields or add new fields to a deployed/applied manifest, but when you remove a field, the field is not removed from the manifest.Is that by design or am I doing something wrong? I tried using server side applies but that didn't seem to make any differences.
The text was updated successfully, but these errors were encountered: