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

control-service: add timestamps to helm chart #2344

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

DeltaMichael
Copy link
Contributor

@DeltaMichael DeltaMichael commented Jun 30, 2023

Why?

When upgrading the vdk helm chart, helm will not pull the latest image when using a meta tag (latest, stable, etc.). Helm treats tags as first-class citizens and doesn't look at the image sha. If the tag hasn't changed, then, from helm's POV, the chart hasn't changed either. This blocks us from using latests/stable tags for our test environment deployment. It also means quickstart-vdk will not use the latest images if it's upgraded.

This is default helm behavior:

helm/helm#5696

Note that --recreate-pods is no longer a thing.

helm/helm#8271

What?

Add timestamp labels to the control-service deployment.yaml This way, the helm chart will always be different, which means it will always be re-deployed.

How was this tested?

Labels are already added to the frontend deployment.yaml and it works when running quickstart-vdk

What type of change are you making?

Feature/non-breaking

Why?

When upgrading the vdk helm chart, helm will not pull the latest image when using a meta tag (latest, stable, etc.).
Helm treats tags as first-class citizens and doesn't look at the image sha.
If the tag hasn't changed, then, from helm's POV, the chart hasn't changed either.
This blocks us from using latests/stable tags for our test environment deployment.
It also means quickstart-vdk will not use the latest images if it's upgraded.

This is default helm behavior:

helm/helm#5696

Note that --recreate-pods is no longer a thing.

helm/helm#8271

What?

Add timestamp labels to the control-service deployment.yaml
This way, the helm chart will always be different, which means it will always be re-deployed.

How was this tested?

Labels are already added to the frontend deployment.yaml and it works when running quickstart-vdk

What type of change are you making?

Feature/non-breaking

Signed-off-by: Dilyan Marinov <[email protected]>
@DeltaMichael DeltaMichael merged commit 6fc5008 into main Jul 6, 2023
@DeltaMichael DeltaMichael deleted the person/mdilyan/timestamp-control-service-helm branch July 6, 2023 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants