Browse Source

remove pull-secret as it overshadows project local file

Grega Bremec 4 months ago
parent
commit
1a60b25e76

+ 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)