-
Notifications
You must be signed in to change notification settings - Fork 83
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
segregate resource strategy Migration Job #2124
Conversation
@@ -14,7 +14,7 @@ metadata: | |||
annotations: | |||
# This is what defines this resource as a hook. Without this line, the | |||
# job is considered part of the release. | |||
"helm.sh/hook": pre-upgrade,post-upgrade,post-install | |||
"helm.sh/hook": pre-upgrade,post-install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the annotation is different here https://github.com/astronomer/astronomer/pull/2123/files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/astronomer/astronomer/blob/v0.33.3/charts/astronomer/templates/houston/helm-hooks/houston-db-migration-job.yaml#L17 - this is the original annotations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this job is going to run after the upgrade as a seperate job and we are removing the annotation not to run on houston upgrade
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix pre-commit * update migration job * add test cases
Description
segregate resource Strategy Migration Job
Related Issues
https://github.com/astronomer/issues/issues/6152
Testing
Yet to update
Merging
Yet to update