-
Notifications
You must be signed in to change notification settings - Fork 115
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
Not all apis removed from release #110
Comments
Hello. I found that one of subchart uses windows-style caret return. So, adding of instruction should help as urgent method, but it is better to support it in mapkubeapis plugin.
Bad chart is victoria-metrics-cluster v0.9.46, it contains template 'app-monitoring/charts/vmcluster/templates/podsecuritypolicy.yaml' which not deleted by plugin Adding the following code here helm-mapkubeapis/pkg/v3/release.go Line 47 in 403d3ad
|
* source from helm#110
I edited my |
Also, this appears to be a duplicate of #82 |
Hello.
We are using helm v3.7.2 + mapkubeapis v0.4.1
k8s node v1.24.9 (where old release version deployed) and v1.25.6 (where plugin executed)
On some releases plugin removes all removed apis, but one of this has removed only 4 of 5
apiVersion: policy/v1beta1\nkind: PodSecurityPolicy\n
There are logs of that execution:
I used the following command to get secret manifests:
kubectl get secret -n project sh.helm.release.v1.project-monitoring.v1 --template={{.data.release}} | base64 -d | base64 -d | gzip -d | jq -r .manifest > before.json
Please find before.yaml and after.yaml attached. I left only the beginning of the files where there are differents
May be it will useful information: release where plugin removed all three 'wrong' apis has exported secret size 71kb, but release where removed 4 of 5 has exported secret size 477kb and 3.2mb of decoded unzipped manifest field.
The text was updated successfully, but these errors were encountered: