Skip to content

Add support for disabling tag resolution in revisions #12654

@ycd

Description

@ycd

In what area(s)?

/area API
/kind spec

Describe the feature

Currently when a new revision is applied, the controller component, queries the Docker Registry API, performs tag resolution for the given image tag and retrieves the sha256 hash of the image and uses imageDigest instead of the tag and as a result we have a reproducible image deployment.

This is great for most cases, but what I expect from activator component is respect to image pull policy.

imagePullPolicy: Always

Currently even if a new image pushed to the image:latest it is not respected by the activator component since it uses the imageDigest as long as you don't create a new revision.

It would be great if there is an option to disable tag resolution like we do for enable-scale-to-zero and allow-zero-initial-scale.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/APIAPI objects and controllerskind/featureWell-understood/specified features, ready for coding.kind/specDiscussion of how a feature should be exposed to customers.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions