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
--set SET Helm option: set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
47
47
--set-string SET_STRING
48
48
Helm option: set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
49
-
--version VERSION Helm option: specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a
50
-
valid range (e.g. ^2.0.0). If this is not specified, the latest version is used.
49
+
--version VERSION Helm option: specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used.
51
50
--timeout TIMEOUT Helm option: timein seconds to waitfor any individual Kubernetes operation (like Jobs for hooks, etc). Defaults to 300 seconds.
52
51
--force Helm option: force resource updates through a replacement strategy.
53
-
--atomic Helm option: if set, upgrade process rolls back changes made incase of failed upgrade. The --wait flag will be set automatically if --atomic is
54
-
used.
52
+
--atomic Helm option: if set, upgrade process rolls back changes made incase of failed upgrade. The --wait flag will be set automatically if --atomic is used.
55
53
--cleanup-on-fail Helm option: allow deletion of new resources created in this upgrade when upgrade fails.
56
-
--dry-run Dry run the helm upgrade command. This also renders the chart to STDOUT. This is not allowed to be used in a CI environment due to secrets being
57
-
displayed in plain text, and the script will exit. To enable this option, set a local environment variable HUBPLOY_LOCAL_DEBUG=true
58
-
--keyless Authenticate with Application Default Credentials instead of the service_key in hubploy.yaml, which is ignored. Needs workload identity
59
-
federation in CI, or 'gcloud auth application-default login' locally. gcloud provider only.
54
+
--dry-run Dry run the helm upgrade command. This also renders the chart to STDOUT. This is not allowed to be used in a CI environment due to secrets being displayed in plain text, and the script will exit. To enable this option, set a local environment variable HUBPLOY_LOCAL_DEBUG=true
55
+
--encrypted-key, -K Use an encrypted service account key forGCP authentication. This is defined as service_keyin hubploy.yaml. If this is not specified, the default GCP credentials will be used.
60
56
```
61
57
62
-
## Keyless GCP authentication
58
+
## Authentication
63
59
64
-
The `gcloud` provider normally decrypts the service account key named by
65
-
`service_key`in`hubploy.yaml`, then activates it, which changes the machine's
66
-
active gcloud login for the duration of the deploy.
60
+
### GCP
67
61
68
-
`--keyless` skips all of that. It mints a token from [Application Default
69
-
Credentials][adc], reads the cluster endpoint and CA cert from the GKE API, and
70
-
writes its own kubeconfig. No key, no gcloud, no global state to put back.
0 commit comments