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
feat: add ability to impersonate for kubectl-wrapper module (#91)
* add ability to impersonate for kubectl-wrapper module
* use make generate_docs
* make it backwards compatible
* fix conditional and ci
* flip the ternary
* terraform fmt
* try with a true flag
* shift additional 2 in case of service impersonation
Copy file name to clipboardExpand all lines: modules/kubectl-wrapper/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ module "kubectl" {
31
31
| create\_cmd\_triggers | List of any additional triggers for the create command execution. | map |`<map>`| no |
32
32
| enabled | Flag to optionally disable usage of this module. | bool |`"true"`| no |
33
33
| gcloud\_sdk\_version | The gcloud sdk version to download. | string |`"281.0.0"`| no |
34
+
| 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 |
34
35
| internal\_ip | Use internal ip for the cluster endpoint. | bool |`"false"`| no |
35
36
| kubectl\_create\_command | The kubectl command to create resources. | string | n/a | yes |
36
37
| kubectl\_destroy\_command | The kubectl command to destroy resources. | string | n/a | yes |
description="Path to service account key file to auth as for running `gcloud container clusters get-credentials`."
99
99
default=""
100
100
}
101
+
102
+
variable"impersonate_service_account" {
103
+
type=string
104
+
description="An optional service account to impersonate for gcloud commands. If this service account is not specified, the module will use Application Default Credentials."
0 commit comments