Browse Source

Merge pull request #8541 from nak3/fix-message-reconcile-sccs

Fix wrong command suggestion for oc adm policy reconcile-sccs
Vadim Rutkovsky 6 years ago
parent
commit
a2426112f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      playbooks/openshift-master/private/upgrade.yml

+ 1 - 1
playbooks/openshift-master/private/upgrade.yml

@@ -16,7 +16,7 @@
   - fail:
   - fail:
       msg: >
       msg: >
         Changes to bootstrapped SCCs have been detected. Please review the changes by running
         Changes to bootstrapped SCCs have been detected. Please review the changes by running
-        "{{ openshift_client_binary }} adm --config={{ openshift.common.config_base }}/master/admin.kubeconfig"
+        "{{ openshift_client_binary }} adm policy --config={{ openshift.common.config_base }}/master/admin.kubeconfig reconcile-sccs --additive-only=true"
         After reviewing the changes please apply those changes by adding the '--confirm' flag.
         After reviewing the changes please apply those changes by adding the '--confirm' flag.
         Do not modify the default SCCs. Customizing the default SCCs will cause this check to fail when upgrading.
         Do not modify the default SCCs. Customizing the default SCCs will cause this check to fail when upgrading.
         If you require non standard SCCs please refer to https://docs.openshift.org/latest/admin_guide/manage_scc.html
         If you require non standard SCCs please refer to https://docs.openshift.org/latest/admin_guide/manage_scc.html