Skip to content

Commit

Permalink
add jhub tf helm #21
Browse files Browse the repository at this point in the history
  • Loading branch information
goseind committed Feb 6, 2023
1 parent 46a347c commit d4bdfda
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions iac/tf/cluster/main-helm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,12 @@ resource "helm_release" "sealed-secrets-chart" {

# JupyterHub

module "jupyterhub" {
source = "../modules/jupyterhub"

ns-name = var.ns-jupyterhub
release-suffix = var.resource-suffix
module "helm_release" "jupyterhub-chart" {
name = "jhub-${var.resource-suffix}"
repository = "https://jupyterhub.github.io/helm-chart/"
chart = "jupyterhub"
version = "2.0.0"
namespace = var.ns-jupyterhub
}

# Reana
Expand Down
2 changes: 1 addition & 1 deletion iac/tf/cluster/main-k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "kubernetes_namespace_v1" "ns_monitoring" {
}
}

/* resource "kubernetes_namespace_v1" "ns_jupyterhub" {
resource "kubernetes_namespace_v1" "ns_jupyterhub" {
metadata {
name = var.ns-jupyterhub
}
Expand Down
2 changes: 1 addition & 1 deletion iac/tf/cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ variable "ns-reana" {
variable "ns-jupyterhub" {
description = "The name of the namespace for jupyterhub"
type = string
default = "jupyterhub"
default = "jhub"
}

0 comments on commit d4bdfda

Please sign in to comment.