|
|
@@ -3,15 +3,16 @@
|
|
|
#
|
|
|
# The following variables must exist:
|
|
|
#
|
|
|
-# added_operators: (list)
|
|
|
-# - catalog: the catalog of the manifest
|
|
|
-# package: the name of the packagemanifest
|
|
|
-# subscription: the name of the operatorgroup and subscription (optional, defaults to package)
|
|
|
-# channel: which channel to install from
|
|
|
-# namespace: target namespace for subscription
|
|
|
-# desired_csv: for verification - wait for this CSV to appear
|
|
|
-# og_namespaces: (list) operatorgroup namespaces
|
|
|
-# approval: Automatic (default) or Manual
|
|
|
+# added_operators: (list)
|
|
|
+# - catalog: the catalog of the manifest
|
|
|
+# catalog_namespace: (optional) catalog namespace (defaults to openshift-marketplace)
|
|
|
+# package: the name of the packagemanifest
|
|
|
+# subscription: the name of the operatorgroup and subscription (optional, defaults to package)
|
|
|
+# channel: which channel to install from
|
|
|
+# namespace: target namespace for subscription
|
|
|
+# desired_csv: for verification - wait for this CSV to appear
|
|
|
+# og_namespaces: (list) operatorgroup namespaces
|
|
|
+# approval: Automatic (default) or Manual
|
|
|
#
|
|
|
# This role must then be applied as:
|
|
|
#
|
|
|
@@ -122,7 +123,7 @@
|
|
|
definition:
|
|
|
spec:
|
|
|
source: "{{ role.catalog }}"
|
|
|
- sourceNamespace: openshift-marketplace
|
|
|
+ sourceNamespace: "{{ role.catalog_namespace | default('openshift-marketplace') }}"
|
|
|
name: "{{ role.package }}"
|
|
|
channel: "{{ role.channel }}"
|
|
|
startingCSV: "{{ role.desired_csv }}"
|