Skip to content
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

Helm release Secret maximum size exceeded #57

Open
1 task done
ilya-lesikov opened this issue Jul 18, 2024 · 0 comments
Open
1 task done

Helm release Secret maximum size exceeded #57

ilya-lesikov opened this issue Jul 18, 2024 · 0 comments

Comments

@ilya-lesikov
Copy link
Member

Before proceeding

  • I didn't find a similar issue

Version

2.8.0

How to reproduce

  1. Have a lot of resources in the chart.
  2. Do werf converge.

Result

Got error:

Secret "sh.helm.release.v1.(release-name).v1" is invalid: data: Too long: must have at most 1048576 character

Expected result

Release successful.

Additional information

Kubernetes resources, including Secrets, have size limit, which is configured per-cluster. The workaround is to split one release into multiple or change resource size limit cluster-wide.

The solution might be automatically splitting release Secret into multiple Secrets if we encounter such an error.

There is some work going on in upstream Helm: helm/helm#12277

@ilya-lesikov ilya-lesikov changed the title Helm Release Secret maximum size exceeded Helm release Secret maximum size exceeded Jul 18, 2024
@ilya-lesikov ilya-lesikov transferred this issue from werf/werf Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant