Skip to content

Commit

Permalink
Disable add-ons
Browse files Browse the repository at this point in the history
  • Loading branch information
Satveer Khurpa committed May 12, 2022
1 parent d7e8f2b commit c080268
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions examples/fully-private-eks-cluster/add-ons/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,62 +86,62 @@ module "kubernetes-addons" {
#---------------------------------------------------------------

enable_argocd = true
argocd_manage_add_ons = true # Indicates that ArgoCD is responsible for managing/deploying Add-ons.
argocd_applications = {
addons = local.addon_application
workloads = local.workload_application
}
# argocd_manage_add_ons = true # Indicates that ArgoCD is responsible for managing/deploying Add-ons.
# argocd_applications = {
# addons = local.addon_application
# workloads = local.workload_application
# }

#---------------------------------------------------------------
# INGRESS NGINX ADD-ON
#---------------------------------------------------------------

enable_ingress_nginx = true
ingress_nginx_helm_config = {
values = [templatefile("${path.module}/helm_values/nginx-values.yaml", {
hostname = var.eks_cluster_domain
ssl_cert_arn = data.aws_acm_certificate.issued.arn
})]
}
# enable_ingress_nginx = true
# ingress_nginx_helm_config = {
# values = [templatefile("${path.module}/helm_values/nginx-values.yaml", {
# hostname = var.eks_cluster_domain
# ssl_cert_arn = data.aws_acm_certificate.issued.arn
# })]
# }

#---------------------------------------------------------------
# OTHER ADD-ONS
#---------------------------------------------------------------

enable_cert_manager = true
enable_metrics_server = true
enable_vpa = true
enable_external_dns = true
enable_cluster_autoscaler = true


enable_amazon_eks_aws_ebs_csi_driver = true
amazon_eks_aws_ebs_csi_driver_config = {
addon_name = "aws-ebs-csi-driver"
addon_version = "v1.6.0-eksbuild.1"
service_account = "ebs-csi-controller-sa"
resolve_conflicts = "OVERWRITE"
namespace = "kube-system"
additional_iam_policies = []
service_account_role_arn = ""
tags = {}
}
# enable_cert_manager = true
# enable_metrics_server = true
# enable_vpa = true
# enable_external_dns = true
# enable_cluster_autoscaler = true


# enable_amazon_eks_aws_ebs_csi_driver = true
# amazon_eks_aws_ebs_csi_driver_config = {
# addon_name = "aws-ebs-csi-driver"
# addon_version = "v1.6.0-eksbuild.1"
# service_account = "ebs-csi-controller-sa"
# resolve_conflicts = "OVERWRITE"
# namespace = "kube-system"
# additional_iam_policies = []
# service_account_role_arn = ""
# tags = {}
# }

# Amazon Prometheus Configuration to integrate with Prometheus Server Add-on

# enable_amazon_prometheus = true
# amazon_prometheus_workspace_endpoint = var.amazon_prometheus_workspace_endpoint

enable_prometheus = true
prometheus_helm_config = {
name = "prometheus"
repository = "https://prometheus-community.github.io/helm-charts"
chart = "prometheus"
version = "15.3.0"
namespace = "prometheus"
values = [templatefile("${path.module}/helm_values/prometheus-values.yaml", {
operating_system = "linux"
})]
}
# enable_prometheus = true
# prometheus_helm_config = {
# name = "prometheus"
# repository = "https://prometheus-community.github.io/helm-charts"
# chart = "prometheus"
# version = "15.3.0"
# namespace = "prometheus"
# values = [templatefile("${path.module}/helm_values/prometheus-values.yaml", {
# operating_system = "linux"
# })]
# }
}

0 comments on commit c080268

Please sign in to comment.