Skip to content

Commit

Permalink
Fix docs for exec object in provider config
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhouston committed Feb 25, 2025
1 parent b6bb55a commit 1b9849e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ provider "helm" {
kubernetes = {
host = var.cluster_endpoint
cluster_ca_certificate = base64decode(var.cluster_ca_cert)
exec {
exec = {
api_version = "client.authentication.k8s.io/v1beta1"
args = ["eks", "get-token", "--cluster-name", var.cluster_name]
command = "aws"
Expand All @@ -148,7 +148,7 @@ provider "helm" {
token = data.google_client_config.provider.access_token
cluster_ca_certificate = base64decode(
data.google_container_cluster.my_cluster.master_auth[0].cluster_ca_certificate,)
exec {
exec = {
api_version = "client.authentication.k8s.io/v1beta1"
command = "gke-gcloud-auth-plugin"
}
Expand Down

0 comments on commit 1b9849e

Please sign in to comment.