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

Ability to add custom labels to the DB migration pods #1878

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

sbilque
Copy link
Contributor

@sbilque sbilque commented May 28, 2024

SUMMARY

This PR allows to add the labels defined in the additional_labels parameter to the DB migration pods.

Useful when labels are used to control pod creation based on label rules.

ISSUE TYPE
  • New or Enhanced Feature
ADDITIONAL INFORMATION

Currently, labels are added at the DB migration job level, but not in the migration pod associated with that job.
The creation of this pod may be blocked if, for example, there is a control system based on labels.

This change simply reproduces what exists in the definition of task and web pods.

@sbilque sbilque changed the title Ability to add custom labels to the awx-migration pods Ability to add custom labels to the DB migration pods May 31, 2024
Copy link
Member

@rooftopcellist rooftopcellist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@rooftopcellist rooftopcellist force-pushed the awx_migration_pod_labels branch from 6d58951 to 1fda602 Compare June 12, 2024 18:18
@rooftopcellist rooftopcellist merged commit e271515 into ansible:devel Jun 12, 2024
7 of 8 checks passed
@sbilque sbilque deleted the awx_migration_pod_labels branch June 13, 2024 15:29
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.

2 participants