فهرست منبع

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)