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

chore: replace helm revision with timestamp in migration jobnames #4394

Closed
wants to merge 1 commit into from
Closed

chore: replace helm revision with timestamp in migration jobnames #4394

wants to merge 1 commit into from

Conversation

zoop-btc
Copy link
Contributor

@zoop-btc zoop-btc commented Oct 5, 2023

This pull request will make it possible to use the galoy helm chart in CD pipelines and tools like argoCD which use helm template before applying the manifests to kubernetes.

Since the helm template command doesn't update the revision number they'd get errors due to trying to overwrite existing migration jobs.

As workaround I recommend to name them via a timestamp instead of a revision. In this example I use a unix timestamp but we could also use a prettier formatting like:

{{- now | date "20060102150405" -}}

@zoop-btc zoop-btc closed this by deleting the head repository Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant