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

Track latest build tag and patch when image changes for deployments #73

Open
shahidhk opened this issue May 25, 2018 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@shahidhk
Copy link
Member

As mentioned in #71, sometimes a user might need to update the deployment (say kubectl apply) and when it happens, the image name is overwritten.

The controller needs to keep track of latest build tags for deployments in each remote.

When any of these deployments' image field gets updated, controller can patch it to the latest build tag.

So, whenever a new build happends, a relevent key should be updated in Remote.Status. Then controller can watch all the tracked deployments and patch when required.

@shahidhk shahidhk added enhancement New feature or request help wanted Extra attention is needed labels May 25, 2018
@majodev
Copy link

majodev commented Jul 25, 2018

Hi, I also think automatically tagging with latest or another label (e.g. the name of the branch that was pushed) would be the most convenient workaround for these cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants