When calling make authorize, the first step is to revoke all rolebindings created by the cas-pipeline helm chart. This includes the user calling the script, which results in their permissions being revoked. Once their permissions are revoked, the script cannot continue and crashes.
To fix:
Exclude the user calling the script when executing the delete rolebinding command
When calling make authorize, the first step is to revoke all rolebindings created by the cas-pipeline helm chart. This includes the user calling the script, which results in their permissions being revoked. Once their permissions are revoked, the script cannot continue and crashes.
To fix: