Skip to content

Commit

Permalink
Merge pull request #1542 from pixelsoccupied/rename-default-cat-example
Browse files Browse the repository at this point in the history
ztp: rename DefaultCatsrc to inform that CR is for disconnected env and update all subscriptions
  • Loading branch information
openshift-merge-robot authored Jul 7, 2023
2 parents e5d1c14 + 5e83c50 commit ba01ee0
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ policies:
- path: source-crs/DefaultCatsrc.yaml
patches:
- metadata:
name: redhat-operators
name: redhat-operators-disconnected
spec:
displayName: disconnected-redhat-operators
image: registry.example.com:5000/disconnected-redhat-operators/disconnected-redhat-operator-index:v4.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ spec:
policyName: "config-policy"
- fileName: DefaultCatsrc.yaml
policyName: "config-policy"
# The Subscriptions all point to redhat-operators. The OperatorHub CR
# disables the defaults and this CR replaces redhat-operators with a
# The Subscriptions all point to redhat-operators-disconnected. The OperatorHub CR
# disables the defaults and this CR replaces redhat-operators-disconnected with a
# CatalogSource pointing to the disconnected registry. Including both of
# these in the same policy orders their application to the cluster.
# Tip: for RH sources `image: registry.redhat.io/redhat/redhat-operator-index:v4.xx`
metadata:
name: redhat-operators
name: redhat-operators-disconnected
spec:
displayName: disconnected-redhat-operators
image: registry.example.com:5000/disconnected-redhat-operators/disconnected-redhat-operator-index:v4.9
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/AmqSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
spec:
channel: 1.10.x
name: amq7-interconnect-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/BareMetalEventRelaySubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "stable"
name: bare-metal-event-relay
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/ClusterLogSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "stable"
name: cluster-logging
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/PaoSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "4.10"
name: performance-addon-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/PtpSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
spec:
channel: "stable"
name: ptp-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/SriovSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "stable"
name: sriov-network-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/StorageLVMOSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "stable-4.11"
name: odf-lvm-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/StorageLVMSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "stable-4.12"
name: lvms-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down
2 changes: 1 addition & 1 deletion ztp/source-crs/StorageSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
channel: "stable"
name: local-storage-operator
source: redhat-operators
source: redhat-operators-disconnected
sourceNamespace: openshift-marketplace
installPlanApproval: Manual
status:
Expand Down

0 comments on commit ba01ee0

Please sign in to comment.