Skip to content

Commit

Permalink
Bug 1867821: Include spec.priority for default sources
Browse files Browse the repository at this point in the history
This PR ranks the default catalogsources in order of prefered
catalog introduced in operator-framework#318
  • Loading branch information
anik120 committed Aug 12, 2020
1 parent 47a0381 commit 8dba8e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/01_redhat_operators.cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
image: registry.redhat.io/redhat/redhat-operator-index:v4.6
displayName: "Red Hat Operators"
publisher: "Red Hat"
priority: -200
updateStrategy:
registryPoll:
interval: 10m
1 change: 1 addition & 0 deletions defaults/02_certified_operators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
image: registry.redhat.io/redhat/certified-operator-index:v4.6
displayName: "Certified Operators"
publisher: "Red Hat"
priority: -100
updateStrategy:
registryPoll:
interval: 10m
1 change: 1 addition & 0 deletions defaults/03_community_operators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
image: quay.io/openshift-community-operators/catalog:latest
displayName: "Community Operators"
publisher: "Red Hat"
priority: -400
updateStrategy:
registryPoll:
interval: 10m
1 change: 1 addition & 0 deletions defaults/04_redhat_marketplace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
image: registry.redhat.io/redhat/redhat-marketplace-index:v4.6
displayName: "Red Hat Marketplace"
publisher: "Red Hat"
priority: -300
updateStrategy:
registryPoll:
interval: 10m

0 comments on commit 8dba8e2

Please sign in to comment.