Skip to content

Commit

Permalink
prepare tf helm files for reana and jhub #19 #21
Browse files Browse the repository at this point in the history
  • Loading branch information
goseind committed Dec 1, 2022
1 parent 8971bd6 commit c1b7d2c
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 0 deletions.
11 changes: 11 additions & 0 deletions iac/tf/modules/jupyterhub/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resource "helm_release" "<chart-name>-chart" {
name = "sealed-secrets-${var.release-suffix}"
repository = ""
chart = ""
version = ""
namespace = "${var.ns-name}"

values = [
file("${path.module}/values.yaml")
]
}
Empty file.
9 changes: 9 additions & 0 deletions iac/tf/modules/jupyterhub/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
variable "ns-name" {
description = "The namespace to use for sealed-secrets"
type = string
}

variable "release-suffix" {
description = "The suffix added to the sealed-secrets release"
type = string
}
11 changes: 11 additions & 0 deletions iac/tf/modules/reana/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
resource "helm_release" "reana-chart" {
name = "reana-${var.release-suffix}"
repository = ""
chart = "reana"
version = "0.9.0-alpha.7"
namespace = "${var.ns-name}"

values = [
file("${path.module}/values.yaml")
]
}
Empty file added iac/tf/modules/reana/values.yml
Empty file.
9 changes: 9 additions & 0 deletions iac/tf/modules/reana/variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
variable "ns-name" {
description = "The namespace to use for sealed-secrets"
type = string
}

variable "release-suffix" {
description = "The suffix added to the sealed-secrets release"
type = string
}

0 comments on commit c1b7d2c

Please sign in to comment.