Skip to content

Commit

Permalink
Add an yaml example
Browse files Browse the repository at this point in the history
Signed-off-by: RainbowMango <[email protected]>
  • Loading branch information
RainbowMango committed Apr 13, 2021
1 parent 12a19ab commit e4992e4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions artifacts/example/overridepolicy_image.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e4992e4

Please sign in to comment.