-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[prometheus-kube-stack] Problem with my own secrets - Error: create: failed to create: Secret "sh.helm.release.v1.prom.v1" is invalid: data: Too long: must have at most 1048576 bytes #1876
Comments
I can suggest that you make sure no files that are not part of the chart are present in the chart directory, e.g. previous packaged charts when developing a chart. Helm will process all files that it finds in there. Using |
Thank you for comment. Meanwhile I have found the issue, my file which contains certain certificates is to big which blows up the configmap data for the whole chart. There is nothing to exclude for me. I have been following a different approach. I exclude Grafana and roll it out in additional chart. |
Are there any other solutions to this problem? I have the same problem, but I can't split the chart |
.helmignore is very important. I had two files, values-.yaml and values-.yaml . helm put this files into the secret, but this yamls is very bigs. Solution: create folder "configs" and add this in .helmignore. It works for me. |
I have the same problem with 45.XX.XX version. 44.XX.XX is deployed without any issues, but with 45.XX.XX I keep getting:
I am using this command to upgrade/install the chart:
|
@brnck were you able to resolve this ? getting same issue with 45.XX.XX helm chart. |
Nope. We just stayed at 44.XX.XX and decided to observe the situation in this issue to plan our next steps... |
same problem.Do you use a subchart to solve it? how to split it two subcharts? |
I add the README.md and CONTRIBUTING.md in .helmignore
|
I had this issue. The fix is to make sure the helm charts directory is less than 1MB in size. I moved some contents out of the charts directory to make it 980K. After that it worked fine. |
Describe the bug a clear and concise description of what the bug is.
Hi all,
I have a problem I copied my secrects into the kube-prometheus-stack/template directory. I contains some certificates I need for grafana, around 78kb in size. During install helm reported the following error:
I can say the file itself it not too big. as I can enroll it with kubctl.
Do you have any idea on the issue?
What's your helm version?
version.BuildInfo{Version:"v3.8.0", GitCommit:"d14138609b01886f544b2025f5000351c9eb092e", GitTreeState:"clean", GoVersion:"go1.17.6"}
What's your kubectl version?
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.4", GitCommit:"e6c093d87ea4cbb530a7b2ae91e54c0842d8308a", GitTreeState:"clean", BuildDate:"2022-02-16T12:30:48Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"darwin/amd64"}
Which chart?
kube-prometheus-stack
What's the chart version?
version: 32.2.0
What happened?
No response
What you expected to happen?
No response
How to reproduce it?
No response
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
helm3 upgrade --install prom kube-prometheus-stack -f config/kube-prometheus-stack.yaml --namespace mon --create-namespace --set prometheus.prometheusSpec.storageSpec.volumeClaimTemplate.spec.resources.requests.storage=2Ti --set prometheus.prometheusSpec.retentio=90d --set prometheus.prometheusSpec.retentionSize=2TB --set alertmanager.alertmanagerSpec.storage.volumeClaimTemplate.spec.resources.requests.storage=10Gi --set alertmanager.alertmanagerSpec.retention=200h --set alertmanager.config.receivers[0].name=pagerDuty --set alertmanager.config.receivers[0].pagerduty_configs[0].service_key=xxx --debug
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: