Skip to content

[Bug]: failed to install release: create: failed to create: Secret "sh.helm.release.v1.my-nginx-ingress.v1" is invalid: data: Too long: must have at most 1048576 bytes #8049

@gejames

Description

@gejames

Version

edge

What Kubernetes platforms are you running on?

Openshift

Steps to reproduce

When deploying the NGINX Ingress Controller via the Operator on OpenShift 4.18, the installation fails with the following error:

failed to install release: create: failed to create: Secret "sh.helm.release.v1.my-nginx-ingress.v1" is invalid: data: Too long: must have at most 1048576 bytes

This appears to be due to the Helm release metadata exceeding the 1MiB limit imposed on Kubernetes Secrets.

Steps to Reproduce

  1. Deploy the operator in an OpenShift 4.18 cluster.
  2. Apply a moderately complex custom resource (I used the template here)
  3. Observe the failure with the Secret size error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bugneeds triageAn issue that needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions