Browse Source

reflect image-set-config from ge, add TODO

Grega Bremec 1 month ago
parent
commit
934fbb69f7
1 changed files with 6 additions and 0 deletions
  1. 6 0
      playbooks/45-oc-mirror.yml

+ 6 - 0
playbooks/45-oc-mirror.yml

@@ -1,5 +1,6 @@
 ---
 ---
 # Create image set config if necessary, start "oc mirror".
 # Create image set config if necessary, start "oc mirror".
+# TODO: restore registry backup somehow - if that's really necessary?
 - name: Ensure "oc mirror" has completed. (NON-IDEMPOTENT!)
 - name: Ensure "oc mirror" has completed. (NON-IDEMPOTENT!)
   hosts: workstation.lab.example.com
   hosts: workstation.lab.example.com
   gather_subset: min
   gather_subset: min
@@ -35,8 +36,13 @@
                 full: false
                 full: false
                 packages:
                 packages:
                   - name: node-maintenance-operator
                   - name: node-maintenance-operator
+              - catalog: registry.redhat.io/redhat/certified-operator-index:v4.18
+                full: false
+                packages:
+                  - name: crunchy-postgres-operator
             additionalImages:
             additionalImages:
              - name: registry.redhat.io/ubi9/ubi:latest
              - name: registry.redhat.io/ubi9/ubi:latest
+             - name: registry.redhat.io/ubi9/toolbox:latest
 
 
     - name: Kick off "oc mirror".
     - name: Kick off "oc mirror".
       ansible.builtin.command:
       ansible.builtin.command: