kubecost / cluster-turndown

Automated turndown of Kubernetes clusters on specific schedules.
Apache License 2.0
259 stars 23 forks source link

Add missing --project flag #34

Closed michaelmdresser closed 2 years ago

michaelmdresser commented 2 years ago

One of the gcloud commands in the service key-creation script was missing the --project flag, meaning it could fail (when no gcloud default project is set) or try to perform an operation on the wrong project (when the default is different then the user-provided arg). Fixed by adding this flag. Tested on a machine with no default project set, new behavior is correct.

mbolt35 commented 2 years ago

Looks good to me!