Skip to content

Commit

Permalink
Paramaterize ingress namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescross91 committed Apr 24, 2020
1 parent 8380bac commit dee59a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions aws/eks/ingress.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ resource "helm_release" "nginx-ingress" {
name = "nginx-ingress"
repository = data.helm_repository.stable.metadata[0].name
chart = "nginx-ingress"
namespace = var.dslab_namespace

set {
name = "controller.name"
Expand Down
6 changes: 5 additions & 1 deletion aws/eks/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ variable "eks_cluster_config_path" {
type = string
}


variable "map_users" {
description = "Additional IAM users to add to the aws-auth configmap."
type = list(object({
Expand All @@ -88,3 +87,8 @@ variable "aws_region" {
description = "AWS region"
type = string
}

variable "ingress_deployment_namespace" {
description = "Namespace to deploy Nginx to"
type = string
}

0 comments on commit dee59a4

Please sign in to comment.