Skip to main content

alpha.dagger.io/gcp/gke

Google Kubernetes Engine

import "alpha.dagger.io/gcp/gke"

gke.#KubeConfig

KubeConfig config outputs a valid kube-auth-config for kubectl client

gke.#KubeConfig Inputs

NameTypeDescription
config.region*null \| stringGCP region
config.zone*null \| stringGCP zone
config.projectstringGCP project
config.serviceKeydagger.#SecretGCP service key
clusterNamestringGKE cluster name
version*"v1.19.9" \| stringKubectl version

gke.#KubeConfig Outputs

NameTypeDescription
kubeconfigstringkubeconfig is the generated kube configuration file