You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/azure/kubernetes-fleet/cluster-resource-placement/crp-clusterresourceplacementoverridden-false.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ This issue might occur because the `ClusterResourceOverride` or `ResourceOverrid
24
24
25
25
## Case study: ClusterResourcePlacement
26
26
27
-
In the following example, an attempt is made to override the cluster role `secret-reader` that is propagated by the `ClusterResourcePlacement` to the selected clusters.
27
+
In the following example, an attempt is made to override the cluster role `secret-reader` that the `ClusterResourcePlacement` propagates to the selected clusters.
28
28
However, the `ClusterResourceOverride` is created by using an invalid path for the resource.
29
29
30
30
### ClusterRole
@@ -50,7 +50,7 @@ rules:
50
50
- watch
51
51
- list
52
52
```
53
-
The `ClusterRole` `secret-reader` that is propagated to the member clusters by the `ClusterResourcePlacement`.
53
+
The `ClusterRole` `secret-reader` that the `ClusterResourcePlacement` propagates to the member clusters.
54
54
55
55
### ClusterResourceOverride specifications
56
56
```YAML
@@ -158,8 +158,8 @@ status:
158
158
159
159
If the `ClusterResourcePlacementOverridden` (for ClusterResourcePlacement) or `ResourcePlacementOverridden` (for ResourcePlacement) condition is `False`, check the `placementStatuses` section to get the exact cause of the failure.
160
160
161
-
In this situation, the message indicates that the override failed because the path `/metadata/labels/new-label` and its corresponding value are missing.
162
-
Based on the previous example of the cluster role `secret-reader`, you can see that the path `/metadata/labels/` doesn't exist. This means that `labels` doesn't exist.
161
+
In the example, the message indicates that the override failed because the path `/metadata/labels/new-label` and its corresponding value are missing.
162
+
Based on the previous example of the cluster role `secret-reader`, you can see that the path `/metadata/labels/` doesn't exist. The `labels` field doesn't exist.
163
163
Therefore, a new label can't be added.
164
164
165
165
### Resolution
@@ -174,11 +174,11 @@ jsonPatchOverrides:
174
174
newlabel: new-value
175
175
```
176
176
177
-
This adds the new label `newlabel` that has the value `new-value` to the ClusterRole `secret-reader`.
177
+
The code adds the new label `newlabel` that has the value `new-value` to the ClusterRole `secret-reader`.
178
178
179
-
## General Notes
179
+
## ResourcePlacement case study
180
180
181
-
For ResourcePlacement the override flow is identical except that all the resources reside in the same namespace; use `ResourceOverride` instead of `ClusterResourceOverride` and expect `ResourcePlacementOverridden` in conditions.
181
+
For ResourcePlacement, the override flow is identical except that all the resources reside in the same namespace. Use `ResourceOverride` instead of `ClusterResourceOverride` and expect `ResourcePlacementOverridden` in conditions.
182
182
183
183
[!INCLUDE [Azure Help Support](../../../includes/azure-help-support.md)]
0 commit comments