Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-17365: Add support for setting agent labels in BMH as annotations
BMH is the custom resource that is used to add a new host. Agent on the other hand is created automatically when a host registers. Since there is a need to control agent labels the following agent label support was added: In order to add an entry that controls agent label, a new BMH annotation needs to be added. The annotation key is prefixed with the string 'bmac.agent-install.openshift.io.agent-label.'. The remainder of the annotation is considered the label key. The value of the annotation is identical to the agent label value. Note: agent labels cannot be deleted by usage of BMH annotations.
- Loading branch information
1 parent
1795995
commit 0078870
Showing
4 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters