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

Add support for image digests in helm charts #15186

Merged
merged 4 commits into from
Mar 8, 2021

Conversation

aanm
Copy link
Member

@aanm aanm commented Mar 3, 2021

Read per commit

@aanm aanm requested review from a team as code owners March 3, 2021 17:29
@aanm aanm requested a review from joestringer March 3, 2021 17:29
@maintainer-s-little-helper maintainer-s-little-helper bot added backport/1.9 kind/backports This PR provides functionality previously merged into master. labels Mar 3, 2021
@aanm aanm added the release-note/misc This PR makes changes that have no direct user impact. label Mar 3, 2021
@@ -193,7 +193,11 @@ spec:
{{- with .Values.extraEnv }}
{{ toYaml . | trim | indent 8 }}
{{- end }}
{{- if .Values.image.useDigest }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason not to use .Values.image.digest here directly (i.e. check if .Values.image.digest is not empty) ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sayboras see #15185 (comment) if it makes sense

aanm added 4 commits March 8, 2021 12:04
This commit adds a simple way to add the image digests into the official
helm charts.

Signed-off-by: André Martins <andre@cilium.io>
Having files with the right format will make it easier to download them
locally and use them as part of the release process.

Signed-off-by: André Martins <andre@cilium.io>
The SHAs are available in the GH run, so we can use the GH API to
retrieve them automatically.

Signed-off-by: André Martins <andre@cilium.io>
Dependabot will update those commit SHAs automatically and the version
number will quickly outdated. To avoid confusion, we will remove the
comments related with the versions a SHA points to from all GH actions.

Signed-off-by: André Martins <andre@cilium.io>
@aanm
Copy link
Member Author

aanm commented Mar 8, 2021

test-backport-1.9

@aanm
Copy link
Member Author

aanm commented Mar 8, 2021

test-1.12-netnext

@aanm
Copy link
Member Author

aanm commented Mar 8, 2021

hit #15244

@aanm aanm merged commit 1273c57 into cilium:v1.9 Mar 8, 2021
@aanm aanm deleted the pr/fixing-helm-v1.9 branch March 8, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants