From 8e1d075d8958d1f02f3cf49b7bf788a545a08197 Mon Sep 17 00:00:00 2001 From: badra001 Date: Wed, 6 Apr 2022 07:18:37 -0400 Subject: [PATCH] update --- .../irsa-roles/cluster-autoscaler/variables.irsa.auto.tfvars | 1 + examples/full-cluster/irsa-roles/variables.irsa.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/examples/full-cluster/irsa-roles/cluster-autoscaler/variables.irsa.auto.tfvars b/examples/full-cluster/irsa-roles/cluster-autoscaler/variables.irsa.auto.tfvars index 7a5389c..902abc8 100644 --- a/examples/full-cluster/irsa-roles/cluster-autoscaler/variables.irsa.auto.tfvars +++ b/examples/full-cluster/irsa-roles/cluster-autoscaler/variables.irsa.auto.tfvars @@ -1,2 +1,3 @@ namespace = "kube-system" +namespace_short = "" name = "cluster-autoscaler" diff --git a/examples/full-cluster/irsa-roles/variables.irsa.tf b/examples/full-cluster/irsa-roles/variables.irsa.tf index 75e3046..63f3ab1 100644 --- a/examples/full-cluster/irsa-roles/variables.irsa.tf +++ b/examples/full-cluster/irsa-roles/variables.irsa.tf @@ -3,6 +3,11 @@ variable "namespace" { type = string } +variable "namespace_short" { + description = "K8S namespace for IAM Role for Service Account (per-pod), short version (without the cluster name) to keep the role name under 64 characters" + type = string +} + variable "name" { description = "K8S service names for IAM Role for Service Account (per-pod)" type = string