Skip to content

Commit

Permalink
Merge pull request #105 from kloia/adjust-trivy-value
Browse files Browse the repository at this point in the history
adjust variable flags of trivy,metricsServer and certManager
  • Loading branch information
ugurcancaykara authored Oct 19, 2023
2 parents 98849b5 + 95f6f66 commit 47e5bfa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
7 changes: 5 additions & 2 deletions aws-eks-addons/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,13 @@ resource "kubectl_manifest" "argocd_bootstrapper_application" {
helm: {
values: yamlencode({
certManager: {
enable: false
enable: var.deploy_cert_manager
}
metricsServer: {
enable: false
enable: var.deploy_metrics_server
}
trivy: {
enable: var.deploy_trivy
}
rancher: {
enable: var.deploy_rancher
Expand Down
18 changes: 18 additions & 0 deletions aws-eks-addons/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,24 @@ variable "deploy_external_secrets" {
default = false
}

variable "deploy_trivy" {
description = "Deploy Trivy flag"
type = bool
default = false
}

variable "deploy_metrics_server" {
description = "Deploy Rancher flag"
type = bool
default = false
}

variable "deploy_cert_manager" {
description = "Deploy Rancher flag"
type = bool
default = false
}

variable "deploy_rancher" {
description = "Deploy Rancher flag"
type = bool
Expand Down

0 comments on commit 47e5bfa

Please sign in to comment.