Update psp migration script used in upgrade

This commit updates the migration script used to apply the
pod security policy (psp) configuration during an upgrade.
The change is necessary to accommodate newly added psp
ClusterRoleBinding configurations.

Closes-Bug: 1885716
Depends-On: https://review.opendev.org/c/starlingx/ansible-playbooks/+/782325

Change-Id: Ibfdfd51e588eb2ad47c9f1c116875d01a2f06502
Signed-off-by: Carmen Rata <carmen.rata@windriver.com>
This commit is contained in:
Carmen Rata 2021-03-25 23:37:17 -04:00
parent 7a2a54c2b7
commit c11bd71fb1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ def main():
log.configure()
if to_release == '20.06' and action == 'activate':
if from_release == '20.06' and action == 'activate':
LOG.info("%s invoked from_release = %s to_release = %s action = %s"
% (sys.argv[0], from_release, to_release, action))
apply_mandatory_psp_policies()