Skip to content

Helm chart errors if using a SemVer2 chart version #14032

Closed

Description

@thomasv314

A clear and concise description of what the bug is.

Expected results

Helm chart deploys when the chart version uses SemVer2

Actual results

 Error: release superset failed, and has been uninstalled due to atomic being set: Secret "superset-config" is invalid: metadata.labels: Invalid value: "superset-2021.13.1-79+44068e96a": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue',  or 'my_value',  or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?')

Screenshots

If applicable, add screenshots to help explain your problem.

How to reproduce the bug

Set the chart version.yaml to include a +, i.e. 2021.13.1-79+44068e96a

The superset-config resource errors out because it does not use the superset.chart function that all the other resources use

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions