Преглед на файлове

remove pull-secret as it overshadows project local file

Grega Bremec преди 4 месеца
родител
ревизия
1a60b25e76
променени са 2 файла, в които са добавени 2 реда и са изтрити 7 реда
  1. 0 7
      p0f/operators/roles/fix-operators/files/pull-secret.yml
  2. 2 0
      p0f/operators/roles/fix-operators/tasks/main.yml

+ 0 - 7
p0f/operators/roles/fix-operators/files/pull-secret.yml

@@ -1,7 +0,0 @@
-apiVersion: v1
-kind: Secret
-metadata:
-  name: pull-secret
-  namespace: openshift-config
-stringData:
-  .dockerconfigjson: '{"auths":{"registry.somewhere.com":{"auth":"AUTHSTRING","email":"YOUREMAIL@SOMEWHERE.COM"}}}'

+ 2 - 0
p0f/operators/roles/fix-operators/tasks/main.yml

@@ -1,6 +1,8 @@
 ---
 # Fixes the openshift-marketplace catalogs by recreating them from original images.
 #
+# IMPORTANT: Wherever this role is applied, there must be a files/pull-secret.yml!
+#
 # REQUIRED:
 #
 #   removed_sources     the catalog sources we remove (vars/main.yml)