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

Use workload's format for images #5

Open
squaremo opened this issue Jul 28, 2020 · 2 comments
Open

Use workload's format for images #5

squaremo opened this issue Jul 28, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@squaremo
Copy link
Member

When replacing images in a workload, it'd be good to keep the format that the workload itself uses, and just replace the tag (or digest, if that's supported). E.g., if the workload uses

image: helloworld:3.8

and the policy has

status:
  latestImage: index.docker.io/library/helloworld:3.9

then the update should be to

image: helloworld:3.9
@squaremo squaremo added the enhancement New feature or request label Jul 28, 2020
@squaremo
Copy link
Member Author

I need to decide whether this is still relevant for the setters mechanism #23 (as opposed to the simple update mechanism, which was removed in #27).

@squaremo
Copy link
Member Author

This may be more to do with how the image reflector controller exposes the latest image -- the setters just uses the value as it is given in the ImagePolicy status.

@squaremo squaremo self-assigned this Jul 14, 2021
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