This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from gitpod-io/tarun/preemptable-nodes-false
use `--preemptable` appropriately when set to false Currently, As we seem to use the `{PREEMPTABLE}` env directly, It causes the following error when set to `false`: ``` ERROR: (gcloud.container.clusters.create) unrecognized arguments: false ``` This PR updates to use a separate variable, which is set `--preemptable` when `PREEMPTABLE` is set to true, **empty otherwise**. Thus, preventing `false` to mistakenly passed as an argument. This PR also updates the usage at `gcloud.container.node-pools.create` to not pass empty argument when the value is `false`.
- Loading branch information