46362ed247
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
---
|
|
sidebar_label: gke
|
|
---
|
|
|
|
# alpha.dagger.io/gcp/gke
|
|
|
|
Google Kubernetes Engine
|
|
|
|
```cue
|
|
import "alpha.dagger.io/gcp/gke"
|
|
```
|
|
|
|
## gke.#KubeConfig
|
|
|
|
KubeConfig config outputs a valid kube-auth-config for kubectl client
|
|
|
|
### gke.#KubeConfig Inputs
|
|
|
|
| Name | Type | Description |
|
|
| ------------- |:-------------: |:-------------: |
|
|
|*config.region* | `*null \| string` |GCP region |
|
|
|*config.zone* | `*null \| string` |GCP zone |
|
|
|*config.project* | `string` |GCP project |
|
|
|*config.serviceKey* | `dagger.#Secret` |GCP service key |
|
|
|*clusterName* | `string` |GKE cluster name |
|
|
|*version* | `*"v1.19.9" \| string` |Kubectl version |
|
|
|
|
### gke.#KubeConfig Outputs
|
|
|
|
| Name | Type | Description |
|
|
| ------------- |:-------------: |:-------------: |
|
|
|*kubeconfig* | `string` |kubeconfig is the generated kube configuration file |
|