leg100 / etok

Execute Terraform on Kubernetes
https://docs.etok.dev
Mozilla Public License 2.0
73 stars 5 forks source link

Standardize handling of credentials #90

Closed leg100 closed 3 years ago

leg100 commented 3 years ago

Standardize handling of credentials for both the operator and for workspaces/runs.

Currently the operator install command takes a path to a GCP service account via a --secret-file flag, whilst workspaces/runs look for a secret called etok containing environment variables.

This PR standardizes on the latter approach.

This will make it easier to support credentials other than a GCP service account key for the operator.