You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed the that starting with v1.2.0 the Helm Chart deployment will fail with:
Deployment.apps "k8s-aws-operator" is invalid: [metadata.labels: Invalid value: "v1.2.0@sha256:6239fd33496c67d4ed2c234ae52328931da62e264c7a39f4e2e1a797be107917": must be no more than 63 characters, metadata.labels: Invalid value: "v1.2.0@sha256:6239fd33496c67d4ed2c234ae52328931da62e264c7a39f4e2e1a797be107917": 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])?')
is causing this issue as the appVersion is used for the recommened labels added in #18
Expected
The appVersion shouldn't contain the sha256 value.
If we really need that, we should instead add this to the values.yaml file under image.tag or as usual to the templates/deployment.yaml file under the containers.[...].image.
Current Workaround
Explicitly set the image tag in the values.yaml file, like:
image:
registry: ....tag: v1.2.0
The templates/_helpers.tpl will take that value instead of the appVersion
The text was updated successfully, but these errors were encountered:
Input
I've noticed the that starting with v1.2.0 the Helm Chart deployment will fail with:
The sha256 added by the github action:
is causing this issue as the appVersion is used for the recommened labels added in #18
Expected
The appVersion shouldn't contain the sha256 value.
If we really need that, we should instead add this to the
values.yaml
file underimage.tag
or as usual to thetemplates/deployment.yaml
file under thecontainers.[...].image
.Current Workaround
Explicitly set the image tag in the
values.yaml
file, like:The
templates/_helpers.tpl
will take that value instead of theappVersion
The text was updated successfully, but these errors were encountered: