-
Notifications
You must be signed in to change notification settings - Fork 22
Add ManagedClusterLabels to hub template context #95
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
Add ManagedClusterLabels to hub template context #95
Conversation
/hold |
efe0342
to
354a312
Compare
LGTM! There's a conflict to resolve here, though. |
354a312
to
76df216
Compare
/unhold Now ready for real review! |
go.mod
Outdated
@@ -90,6 +90,7 @@ require ( | |||
) | |||
|
|||
replace ( | |||
github.com/stolostron/go-template-utils/v3 => github.com/JustinKuli/go-template-utils/v3 v3.0.0-20230317191931-87e9558c03e6 |
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.
Nope
The labels on the ManagedCluster where the policy is being propagated are now available for use in hub templates. And when the labels on the ManagedCluster change, the template will automatically be updated. Refs: - https://issues.redhat.com/browse/ACM-4168 Signed-off-by: Justin Kulikauskas <[email protected]>
Signed-off-by: Justin Kulikauskas <[email protected]>
76df216
to
1f5c0ca
Compare
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!
@@ -21,6 +21,7 @@ jobs: | |||
env: | |||
REGISTRY: localhost:5000 | |||
strategy: | |||
fail-fast: false |
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.
I should have known this would be in here 😉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhaiducek, JustinKuli The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The labels on the ManagedCluster where the policy is being propagated are now available for use in hub templates. And when the labels on the ManagedCluster change, the template will automatically be updated.
Refs: