Skip to content

Commit b6b51f9

Browse files
committed
fix values.yaml path in sample-jhub
1 parent a1fa0d0 commit b6b51f9

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

tests/sample-jhub-nfs/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module "sample-jhub" {
6868
# ---------------- HELM/JHUB VARIABLES -----------------------
6969
jhub_helm_version = "3.3.7"
7070
helm_deploy_timeout = 4000
71-
helm_values_file = file(var.helm_values_file)
71+
helm_values_file = var.helm_values_file
7272

7373
# ---------------- CRONJOB VARIABLES -----------------------
7474
scale_up_schedule = "30 19 * * 4"

tests/sample-jhub/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module "sample-jhub" {
6969
# ---------------- HELM/JHUB VARIABLES -----------------------
7070
jhub_helm_version = "3.3.7"
7171
helm_deploy_timeout = 1000
72-
helm_values_file = "./sample-jhub/values.yaml"
72+
helm_values_file = var.helm_values_file
7373

7474
# ---------------- CRONJOB VARIABLES -----------------------
7575
scale_up_schedule = "30 19 * * 4"

tests/sample-jhub/variables.tf

+6-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ variable "folder_id" {
1010
type = string
1111
}
1212

13+
variable "helm_values_file" {
14+
type = string
15+
}
16+
1317
variable "site_certificate_file" {
1418
type = string
15-
default = "./secrets/tls.cer"
19+
default = "./tests/secrets/tls.cer"
1620
}
1721

1822
variable "site_certificate_key_file" {
1923
type = string
20-
default = "./secrets/tls.key"
24+
default = "../tests/secrets/tls.key"
2125
}

0 commit comments

Comments
 (0)