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

Allow to specify the SHA with the tag #41

Open
quentinus95 opened this issue Mar 16, 2024 · 0 comments
Open

Allow to specify the SHA with the tag #41

quentinus95 opened this issue Mar 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@quentinus95
Copy link

quentinus95 commented Mar 16, 2024

What would you like?

Hello, for enhanced security would it be possible to update the chart, so it is possible to pass the SHA along with the tag?

Example of currently unsupported values:

image:
  repository: ghcr.io/aureq/cert-manager-webhook-ovh
  tag: 0.6.0@sha256:6e38b4420232ec6ab6ed2e75d15b7b5b60088a886ac28ef30cc4327fd3ad1c9c

Leads to the error:

metadata.labels: Invalid value: "0.6.0@sha256:6e38b4420232ec6ab6ed2e75d15b7b5b60088a886ac28ef30cc4327fd3ad1c9c": must be no more than 63 characters, metadata.labels: Invalid value: "0.6.0@sha256:6e38b4420232ec6ab6ed2e75d15b7b5b60088a886ac28ef30cc4327fd3ad1c9c": 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])?')

Such syntax is pretty standard and is used, for instance, by Renovate to pin dependencies.

@quentinus95 quentinus95 added the enhancement New feature or request label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant