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
chore: Update README to prevent KSA misconfiguration (#1143)
* Update README to prevent KSA misconfiguration
Update the documentation of the workload identity module to address issue #1065
* Update workload identity variables definition
Copy file name to clipboardExpand all lines: modules/workload-identity/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ already bear the `"iam.gke.io/gcp-service-account"` annotation.
100
100
| cluster\_name | Cluster name. Required if using existing KSA. |`string`|`""`| no |
101
101
| gcp\_sa\_name | Name for the Google service account; overrides `var.name`. |`string`|`null`| no |
102
102
| impersonate\_service\_account | An optional service account to impersonate for gcloud commands. If this service account is not specified, the module will use Application Default Credentials. |`string`|`""`| no |
103
-
| k8s\_sa\_name | Name for the Kubernetes service account; overrides `var.name`. |`string`|`null`| no |
103
+
| k8s\_sa\_name | Name for the Kubernetes service account; overrides `var.name`. `cluster_name` and `location` must be set when this input is specified. |`string`|`null`| no |
104
104
| location | Cluster location (region if regional cluster, zone if zonal cluster). Required if using existing KSA. |`string`|`""`| no |
105
105
| name | Name for both service accounts. The GCP SA will be truncated to the first 30 chars if necessary. |`string`| n/a | yes |
106
106
| namespace | Namespace for the Kubernetes service account |`string`|`"default"`| no |
0 commit comments