-
Notifications
You must be signed in to change notification settings - Fork 110
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
Stopped creating kapp app configmap during --diff-run #454
Conversation
would recommend blocking merge of this issue on #450 |
I think we can rebase this on develop now. |
I am thinking if the effects of |
I would expect nothing to change on the cluster if I use |
LGTM |
Hi @praveenrewar, Please let me know your thoughts on changing this behaviour to not updating the configmap as part of this PR. |
I'd vote for a separate issue / PR. This one should probably remain scoped to just the creation of the configmap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
After discussion with the team, we have decided to address the update flow as part of this PR only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No super strong feelings about this one, just a thought
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of thoughts I had while taking a look.
- If we are making sure that diff-run doesn't result in any change in the cluster, then we might have to make changes to the
UsedGVs
andUsedGKs
because they will also be updating the ConfigMap. - Since we will have to make changes in so many places, it might make sense to have the
isDiffRun
in the RecordedApp itself so that we don't have to pass it along in so many places and use it just when required. - Another thing that might be worth exploring is if it's possible to have the dry run set for the whole client itself (but I guess that's not possible for the core client).
(I am totally okay with creating a separate PR for the updates)
This reverts commit 9ecf7ac.
7482fae
to
92f6e72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
--diff-run
flag