-
Notifications
You must be signed in to change notification settings - Fork 103
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
ACM-18042: Adopt policy best practices (GRC) #7524
base: 2.13_stage
Are you sure you want to change the base?
ACM-18042: Adopt policy best practices (GRC) #7524
Conversation
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
@@ -182,6 +182,11 @@ spec: | |||
labelSelector: | |||
matchLabels: | |||
cloud: "IBM" |
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.
formatting seems to be off here.
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.
fixed.
+ | ||
---- | ||
oc delete policies.policy.open-cluster-management.io <policy-name> -n <policy-namespace> | ||
---- | ||
+ | ||
After your policy is deleted, it is removed from your target cluster or clusters. Verify that your policy is removed by running the following command: `oc get policies.policy.open-cluster-management.io <policy-name> -n <policy-namespace>` | ||
|
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 had a random (+) in the file, which was overused bc it was built with bullets and steps were merged together. Quick format fix.
@swopebe If needed, I can handle the rebase/conflicts once the review edits are complete. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dhaiducek, jc-berger, swopebe The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
- Use fully qualified name for policy - Remove `ManagedClusterConditionAvailable` When dealing with policies, this setting is not recommended since it could introduce churn. - Add `tolerations` to `Placement` Not having these tolerations could introduce churn if the managed cluster becomes unavailable. Signed-off-by: Dale Haiducek <[email protected]>
8b849af
to
036985c
Compare
New changes are detected. LGTM label has been removed. |
@swopebe I rebased it and think I got it back to where it was previously, but when you have a minute please double check the edits made here to make sure. |
ManagedClusterConditionAvailable
tolerations
toPlacement
ref: https://issues.redhat.com/browse/ACM-18042
Split from:
ConfigurationPolicy
customMessage
doc (GRC) #7521