added auto-aprove seeting to terraform apply
parent
6c0c40b00f
commit
e4056f7f04
18
terraform.tf
18
terraform.tf
|
|
@ -40,13 +40,13 @@ provider "aws" {
|
||||||
|
|
||||||
|
|
||||||
provider "helm" {
|
provider "helm" {
|
||||||
kubernetes {
|
# kubernetes {
|
||||||
host = data.aws_eks_cluster.xOps.endpoint
|
# host = data.aws_eks_cluster.xOps.endpoint
|
||||||
cluster_ca_certificate = base64decode(data.aws_eks_cluster.xOps.certificate_authority[0].data)
|
# cluster_ca_certificate = base64decode(data.aws_eks_cluster.xOps.certificate_authority[0].data)
|
||||||
exec {
|
# exec {
|
||||||
api_version = "client.authentication.k8s.io/v1beta1"
|
# api_version = "client.authentication.k8s.io/v1beta1"
|
||||||
args = ["eks", "get-token", "--cluster-name", data.aws_eks_cluster.xOps.name]
|
# args = ["eks", "get-token", "--cluster-name", data.aws_eks_cluster.xOps.name]
|
||||||
command = "aws"
|
# command = "aws"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue