Add an yaml example
Signed-off-by: RainbowMango <renhongcai@huawei.com>
This commit is contained in:
parent
12a19ab5e5
commit
e4992e46fc
|
@ -0,0 +1,18 @@
|
|||
apiVersion: policy.karmada.io/v1alpha1
|
||||
kind: OverridePolicy
|
||||
metadata:
|
||||
name: example-override
|
||||
namespace: default
|
||||
spec:
|
||||
resourceSelectors:
|
||||
- apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
targetCluster:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
location: us
|
||||
overriders:
|
||||
imageOverrider:
|
||||
- component: Registry
|
||||
operator: replace
|
||||
value: fictional.registry.us
|
Loading…
Reference in New Issue