Comments (2)
Oh, I seem to know the issue because there is no patch created from currentObj. Why don't we create patch as follows, any other considerations?
if isUnstructured || isCRD {
// fall back to generic JSON merge patch
patch, err := jsonpatch.CreateMergePatch(currentData, newData)
return patch, types.MergePatchType, err
}
from helm.
Unfortunately, Custom resources fall back to standard json patching:
Lines 638 to 651 in 847369c
This (iiuc) is because the strategicpatch
library didn't support non-native types when this was implemented. I think this now might have changed, but the behavior has been retained for compatibility reasons.
from helm.
Related Issues (20)
- upgrade.RunWithContext fails if task is canceled through context, rather than proceeding in the background HOT 2
- Tests fail after 2024-06-07
- retrieving labels added to revision HOT 4
- Feature Request: Option to list Transitive Dependencies Values files
- helm install/upgrade/rollback --dry-run --debug
- OCI image annotation org.opencontainers.image.created should use timestamp of pushed TGZ instead of current time HOT 2
- Failure in pre-upgrade leads to crash of helm when rollbacking
- Helm upgrade states secret patching during upgrade. However, its behaviour is not matching with behaviour of kubectl patch command HOT 1
- helm lint and helm package fail to find a charts subdirectory HOT 1
- Chain of subcharts won't allow exported values to be at root level
- Helm on RHEL 8.9 bash: helm: command not found HOT 3
- exported values not picked from custom yaml file passed during install/upgrade
- Helm not working behind a proxy HOT 1
- Helm does not work in air-gapped environments
- Kind Sorter missing list based resources HOT 2
- Programmatically search/list all charts in a repository
- Helm template for multiple nginx domain template HOT 1
- Upgrade release with specified values doesn't merge current values HOT 1
- Dependency repo URL overwrite and usage in ArgoCD HOT 2
- Helm golang sdk Chart install OCI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm.