Skip to content

Support for providing SHA digest for the image in Helm chart #30200

@elongl

Description

@elongl

Description

This is my configuration:

images:
  airflow:
    repository: <REPO>
    tag: <TAG>

I'd like to be able to do the following:

images:
  airflow:
    repository: <REPO>
    digest: <SHA_DIGEST>

Additionally, I've tried supplying only the repository, or placing the digest as the tag, but both don't work because of this. The formatting is done by repo:tag while I need repo@digest.

Use case/motivation

I'm using Terraform to deploy Airflow.
I'm using the data source of aws_ecr_image in order to pick the latest image.
I want to supply to the helm_release of Airflow the image's digest rather than latest as according to the docs, it's bad practice.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions