Skip to content

Commit 61c8231

Browse files
fix: change CA config parameters (argoproj-labs#77)
fixes argoproj-labs#74
1 parent 4c3ad41 commit 61c8231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/resources/cluster.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ resource "argocd_cluster" "gke" {
3333
3434
config {
3535
tls_client_config {
36-
ca_cert_data = data.google_container_cluster.cluster.master_auth.0.cluster_ca_certificate
36+
ca_data = data.google_container_cluster.cluster.master_auth.0.cluster_ca_certificate
3737
cert_data = data.google_container_cluster.cluster.master_auth.0.client_certificate
3838
key_data = data.google_container_cluster.cluster.master_auth.0.client_key
3939
}
@@ -59,7 +59,7 @@ resource "argocd_cluster" "eks" {
5959
role_arn = "arn:aws:iam::<123456789012>:role/<role-name>"
6060
}
6161
tls_client_config {
62-
ca_cert_data = data.aws_eks_cluster.cluster.certificate_authority[0].data
62+
ca_data = data.aws_eks_cluster.cluster.certificate_authority[0].data
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)