11// leave this resource static, if you want to modify console values, do it in the generated helm values directly instead.
22resource "null_resource" "console" {
33 provisioner "local-exec" {
4- command = " plural cd control-plane-values --name {{ .Cluster }} --dsn \" ${ module . mgmt . db_url } \" --domain {{ .Subdomain }} --file console.yaml"
4+ command = " plural cd control-plane-values --name {{ .Cluster }} --dsn \" ${ module . mgmt . db_url } \" --domain {{ .Subdomain }} --file console.yaml"
55 working_dir = " ${ path . module } /../../helm-values"
66 }
77}
@@ -19,8 +19,8 @@ data "local_sensitive_file" "runtime" {
1919}
2020
2121data "local_sensitive_file" "console" {
22- filename = " ${ path . module } /../../helm-values/console.yaml"
23- depends_on = [ null_resource. console ]
22+ filename = " ${ path . module } /../../helm-values/console.yaml"
23+ depends_on = [null_resource. console ]
2424}
2525
2626resource "helm_release" "certmanager" {
@@ -32,11 +32,11 @@ resource "helm_release" "certmanager" {
3232 create_namespace = true
3333 timeout = 300
3434 wait = true
35- values = [
35+ values = [
3636 data . local_sensitive_file . certmanager . content
3737 ]
3838
39- depends_on = [ module . mgmt . cluster , module . mgmt . ready ]
39+ depends_on = [module . mgmt . cluster , module . mgmt . ready ]
4040}
4141
4242resource "helm_release" "flux" {
@@ -48,11 +48,11 @@ resource "helm_release" "flux" {
4848 create_namespace = true
4949 timeout = 300
5050 wait = false
51- values = [
51+ values = [
5252 data . local_sensitive_file . flux . content
5353 ]
5454
55- depends_on = [ module . mgmt . cluster ]
55+ depends_on = [module . mgmt . cluster ]
5656}
5757
5858resource "helm_release" "runtime" {
@@ -64,29 +64,29 @@ resource "helm_release" "runtime" {
6464 create_namespace = true
6565 timeout = 300
6666 wait = false
67- values = [
67+ values = [
6868 data . local_sensitive_file . runtime . content
6969 ]
7070
71- depends_on = [ module . mgmt . cluster , helm_release . certmanager , helm_release . flux ]
71+ depends_on = [module . mgmt . cluster , helm_release . certmanager , helm_release . flux ]
7272}
7373
7474resource "helm_release" "console" {
7575 name = " console"
7676 namespace = " plrl-console"
7777 chart = " console"
7878 repository = " https://pluralsh.github.io/console"
79- version = " 0.3.106 "
79+ version = " 0.3.125 "
8080 create_namespace = true
8181 timeout = 600
8282 wait = true
83- values = [
83+ values = [
8484 data . local_sensitive_file . console . content
8585 ]
8686
87- depends_on = [ module . mgmt . cluster , helm_release . runtime , module . mgmt . db_url ]
87+ depends_on = [module . mgmt . cluster , helm_release . runtime , module . mgmt . db_url ]
8888}
8989
9090output "identity" {
91- value = module. mgmt . identity
91+ value = module. mgmt . identity
9292}
0 commit comments