Skip to content

Commit e4992e4

Browse files
committed
Add an yaml example
Signed-off-by: RainbowMango <[email protected]>
1 parent 12a19ab commit e4992e4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: policy.karmada.io/v1alpha1
2+
kind: OverridePolicy
3+
metadata:
4+
name: example-override
5+
namespace: default
6+
spec:
7+
resourceSelectors:
8+
- apiVersion: apps/v1
9+
kind: Deployment
10+
targetCluster:
11+
labelSelector:
12+
matchLabels:
13+
location: us
14+
overriders:
15+
imageOverrider:
16+
- component: Registry
17+
operator: replace
18+
value: fictional.registry.us

0 commit comments

Comments
 (0)