<commit_before>resource "kubernetes_namespace" "metrics_server" {
  metadata {
    name = "${local.metrics_server_k8s_namespace}"
  }

  depends_on = [
    "null_resource.eks_ready",
  ]
}

resource "helm_release" "metrics_server" {
  name      = "metrics-server"
  chart     = "stable/metrics-server"
  namespace = "${kubernetes_namespace.metrics_server.metadata.0.name}"
  version   = "2.6.0"

  force_update  = true
  recreate_pods = true

  values = [
    "${data.template_file.metrics_server_values.rendered}",
  ]

  depends_on = [
    "null_resource.eks_ready",
    "module.tiller",
  ]
}

data "template_file" "metrics_server_values" {<commit_msg>bump metrics-server chart to 2.8.2<commit_after>resource "kubernetes_namespace" "metrics_server" {
  metadata {
    name = "${local.metrics_server_k8s_namespace}"
  }

  depends_on = [
    "null_resource.eks_ready",
  ]
}

resource "helm_release" "metrics_server" {
  name      = "metrics-server"
  chart     = "stable/metrics-server"
  namespace = "${kubernetes_namespace.metrics_server.metadata.0.name}"
  version   = "2.8.2"

  force_update  = true
  recreate_pods = true

  values = [
    "${data.template_file.metrics_server_values.rendered}",
  ]

  depends_on = [
    "null_resource.eks_ready",
    "module.tiller",
  ]
}

data "template_file" "metrics_server_values" {
{'fraction_non_alphanumeric': 0.12997746055597295, 'fraction_numerical': 0.009767092411720512, 'mean_word_length': 3.79136690647482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7619472', 'n_tokens_mistral': 473, 'n_tokens_neox': 463, 'n_words': 66}