You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2022. It is now read-only.
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`.
0 commit comments