فهرست منبع

Merge pull request #5595 from mgugino-upstream-stage/reg-auth-variable-fix

Automatic merge from submit-queue.

Fix registry auth variable

There is currently a bug in registry auth
credential creation logic for openshift_node
and openshift_node_upgrade

This commit fixes the logic.
OpenShift Merge Robot 7 سال پیش
والد
کامیت
bc5eeede65
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      roles/openshift_node/tasks/registry_auth.yml
  2. 1 1
      roles/openshift_node_upgrade/tasks/registry_auth.yml

+ 1 - 1
roles/openshift_node/tasks/registry_auth.yml

@@ -21,4 +21,4 @@
   when:
     - openshift.common.is_containerized | bool
     - oreg_auth_user is defined
-    - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or oreg_auth_credentials_replace.changed) | bool
+    - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool

+ 1 - 1
roles/openshift_node_upgrade/tasks/registry_auth.yml

@@ -21,4 +21,4 @@
   when:
     - openshift.common.is_containerized | bool
     - oreg_auth_user is defined
-    - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or oreg_auth_credentials_replace.changed) | bool
+    - (node_oreg_auth_credentials_stat.stat.exists or oreg_auth_credentials_replace or node_oreg_auth_credentials_create.changed) | bool