💄 cosmetics

This commit is contained in:
Rodrigue Koffi
2022-08-04 14:39:29 +02:00
parent a8fc12f7b7
commit d09f679ef5
2 changed files with 0 additions and 113 deletions
@@ -11,10 +11,6 @@ resource "helm_release" "kube_state_metrics" {
version = var.config.ksm_helm_chart_version
repository = var.config.ksm_helm_repo_url
# values = [
# var.config.ksm_helm_values
# ]
dynamic "set" {
for_each = var.config.ksm_helm_settings
content {
@@ -33,10 +29,6 @@ resource "helm_release" "prometheus_node_exporter" {
version = var.config.ne_helm_chart_version
repository = var.config.ne_helm_repo_url
# values = [
# var.config.ne_helm_values
# ]
dynamic "set" {
for_each = var.config.ne_helm_settings
content {
@@ -91,108 +91,3 @@ variable "config" {
}
nullable = false
}
# # Kube-state-metrics Variables
# variable "enable_kube_state_metrics" {
# description = "Variable indicating whether deployment is enabled"
# type = bool
# default = true
# }
# # Helm
# variable "helm_create_namespace_ksm" {
# type = bool
# default = true
# description = "Create the namespace if it does not yet exist"
# }
# variable "helm_chart_name_ksm" {
# type = string
# default = "kube-state-metrics"
# description = "Helm chart name to be installed"
# }
# variable "helm_chart_version_ksm" {
# type = string
# default = "4.9.2"
# description = "Version of the Helm chart"
# }
# variable "helm_release_name_ksm" {
# type = string
# default = "kube-state-metrics"
# description = "Helm release name"
# }
# variable "helm_repo_url_ksm" {
# type = string
# default = "https://prometheus-community.github.io/helm-charts"
# description = "Helm repository"
# }
# # K8s
# variable "k8s_namespace_ksm" {
# type = string
# default = "kube-system"
# description = "The K8s namespace in which the prometheus-node-exporter service account has been created"
# }
# variable "settings" {
# type = map(any)
# default = {}
# description = "Additional settings which will be passed to the Helm chart values, see https://hub.helm.sh/charts/stable/prometheus-node-exporter"
# }
# variable "values" {
# type = string
# default = ""
# description = "Additional yaml encoded values which will be passed to the Helm chart."
# }
# # Node exporter Variables
# variable "enabled_node_exporter" {
# description = "Variable indicating whether deployment is enabled"
# type = bool
# default = true
# }
# # Helm
# variable "helm_create_namespace_ne" {
# type = bool
# default = true
# description = "Create the namespace if it does not yet exist"
# }
# variable "helm_chart_name_ne" {
# type = string
# default = "prometheus-node-exporter"
# description = "Helm chart name to be installed"
# }
# variable "helm_chart_version_ne" {
# type = string
# default = "2.0.3"
# description = "Version of the Helm chart"
# }
# variable "helm_release_name_ne" {
# type = string
# default = "prometheus-node-exporter"
# description = "Helm release name"
# }
# variable "helm_repo_url_ne" {
# type = string
# default = "https://prometheus-community.github.io/helm-charts"
# description = "Helm repository"
# }
# # K8s
# variable "helm_repo_url_ne" {
# type = string
# default = "kube-system"
# description = "The K8s namespace in which the prometheus-node-exporter service account has been created"
# }