bcgov / cas-pipeline

A collection of make functions used to compose pipelines
Apache License 2.0
0 stars 0 forks source link

Make authorize revokes script caller's permissions #78

Closed dleard closed 1 year ago

dleard commented 1 year ago

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: