Skip to content

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

Merged
rooftopcellist merged 1 commit intoansible:develfrom
sbilque:awx_migration_pod_labels
Jun 12, 2024
Merged

Ability to add custom labels to the DB migration pods#1878
rooftopcellist merged 1 commit intoansible:develfrom
sbilque:awx_migration_pod_labels

Conversation

@sbilque
Copy link
Copy Markdown
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
Copy Markdown
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
@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