Skip to content

Commit

Permalink
fix: Correct null value assignment for irsa_config
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Sep 30, 2022
1 parent 7342d6d commit aaca4d9
Show file tree
Hide file tree
Showing 18 changed files with 30 additions and 33 deletions.
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/agones/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/airflow/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ locals {
# Apache Airflow Helm Add-on
#-------------------------------------------------
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context
}
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/argo-rollouts/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/argocd/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/cert-manager-csi-driver/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Cluster Proportional Autoscaler Helm Add-on
#-------------------------------------------------
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
set_values = local.set_values
irsa_config = null
addon_context = var.addon_context
}
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/crossplane/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ resource "kubernetes_namespace_v1" "crossplane" {
}

module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.crossplane]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/ingress-nginx/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
#-------------------------------------

module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes-addons/kuberay-operator/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ module "helm_addon" {
var.helm_config
)

irsa_config = null
addon_context = var.addon_context
}
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/kubernetes-dashboard/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/metrics-server/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes-addons/opentelemetry-operator/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ module "helm_addon" {
count = var.enable_opentelemetry_operator ? 1 : 0

helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [module.cert_manager]
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes-addons/prometheus/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ module "helm_addon" {
}
] : []

irsa_config = null
addon_context = var.addon_context
}

Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/reloader/main.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context
}
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/spark-k8s-operator/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/traefik/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.this]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/vpa/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.vpa]
Expand Down
4 changes: 2 additions & 2 deletions modules/kubernetes-addons/yunikorn/main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module "helm_addon" {
source = "../helm-addon"
source = "../helm-addon"

manage_via_gitops = var.manage_via_gitops
helm_config = local.helm_config
irsa_config = null
addon_context = var.addon_context

depends_on = [kubernetes_namespace_v1.yunikorn]
Expand Down

0 comments on commit aaca4d9

Please sign in to comment.