-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Deployment of resources needs to use kubectl apply
semantics
#106
Comments
kubectl edit
semanticskubectl apply
semantics
Some reference points: Declarative Management of Kubernetes Objects Using Configuration Files Advanced Configuration Management ( Server side apply design sketch: v2 API proposal "desired vs actual" |
For the record, a |
Given the complexity of the topic, I'm proposing that we just submit manifests literally just using the On the other hand it provides the following benefits:
|
…oproj#106) Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from v1.0.10 to v1.0.12. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Commits](codecov/codecov-action@v1.0.10...07127fd) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The way we are updating resources is not correct. kube.go::ApplyResource() is doing a simple Update() but it needs to do a Patch() using 3-way strategic merge like kubectl. Kubectl achieves this by storing
last-applied-configuration
as an annotation and incorporate that into the calculation. We need to do the same.The text was updated successfully, but these errors were encountered: