How can I programmatically update gcloud components in a shell script?
Calling gcloud components update requires a user entry, for example:
$ gcloud components update The following components will be installed: -------------------------------------------- | kubectl (Linux, x86_64) | 1.0.1 | 4.5 MB | -------------------------------------------- For the latest release notes, please visit: https://dl.google.com/dl/cloudsdk/release/RELEASE_NOTES Do you want to continue (Y/n)?
I cannot find the gcloud argument to provide the update.
source share