enable multiple domain name
This commit is contained in:
@@ -55,7 +55,7 @@ variable "kubernetes" {
|
|||||||
service_port = optional(list(number))
|
service_port = optional(list(number))
|
||||||
service_type = optional(string, "ClusterIP")
|
service_type = optional(string, "ClusterIP")
|
||||||
service_name = optional(string)
|
service_name = optional(string)
|
||||||
domain_name = optional(string)
|
domain_name = optional(list(string))
|
||||||
liveness_tcp_socket = optional(number)
|
liveness_tcp_socket = optional(number)
|
||||||
liveness_http_get = optional(string)
|
liveness_http_get = optional(string)
|
||||||
liveness_http_get_path = optional(string)
|
liveness_http_get_path = optional(string)
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ kubernetes = {
|
|||||||
replicas = 01
|
replicas = 01
|
||||||
image = "linuxserver/bookstack:latest"
|
image = "linuxserver/bookstack:latest"
|
||||||
service_port = [80, 443]
|
service_port = [80, 443]
|
||||||
domain_name = "bookstack"
|
|
||||||
database = {
|
database = {
|
||||||
"engine" = "mysql"
|
"engine" = "mysql"
|
||||||
"image" = "lscr.io/linuxserver/mariadb"
|
"image" = "lscr.io/linuxserver/mariadb"
|
||||||
@@ -100,7 +99,6 @@ kubernetes = {
|
|||||||
enabled = false
|
enabled = false
|
||||||
name = "stirling-pdf"
|
name = "stirling-pdf"
|
||||||
image = "stirlingtools/stirling-pdf:2.0.0"
|
image = "stirlingtools/stirling-pdf:2.0.0"
|
||||||
domain_name = "stirling"
|
|
||||||
service_port = [8080]
|
service_port = [8080]
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
@@ -195,7 +193,6 @@ kubernetes = {
|
|||||||
onitama = {
|
onitama = {
|
||||||
enabled = false
|
enabled = false
|
||||||
namespace = "onitama"
|
namespace = "onitama"
|
||||||
domain_name = "onitama"
|
|
||||||
image = "ghcr.io/jackadamson/onitama:latest"
|
image = "ghcr.io/jackadamson/onitama:latest"
|
||||||
service_port = [8080]
|
service_port = [8080]
|
||||||
requirements = {
|
requirements = {
|
||||||
@@ -342,7 +339,7 @@ kubernetes = {
|
|||||||
#replicas = 0
|
#replicas = 0
|
||||||
image = "ghcr.io/paperless-ngx/paperless-ngx:2.18.4"
|
image = "ghcr.io/paperless-ngx/paperless-ngx:2.18.4"
|
||||||
service_port = [8000]
|
service_port = [8000]
|
||||||
domain_name = "paperless2"
|
domain_name = ["paperless2"]
|
||||||
database = {
|
database = {
|
||||||
image = "postgres:15.6"
|
image = "postgres:15.6"
|
||||||
mountPath = "/var/lib/postgresql/data"
|
mountPath = "/var/lib/postgresql/data"
|
||||||
@@ -591,7 +588,7 @@ kubernetes = {
|
|||||||
namespace = "next"
|
namespace = "next"
|
||||||
#replicas = 0
|
#replicas = 0
|
||||||
image = "nextcloud:29.0.3-apache"
|
image = "nextcloud:29.0.3-apache"
|
||||||
domain_name = "next"
|
domain_name = ["next"]
|
||||||
service_port = [80]
|
service_port = [80]
|
||||||
#extra_manifest = ["/opt/kubernetes/Nextcloud_kube/next.secret.yaml"]
|
#extra_manifest = ["/opt/kubernetes/Nextcloud_kube/next.secret.yaml"]
|
||||||
secret_ref = ["nextcloud-credentials"]
|
secret_ref = ["nextcloud-credentials"]
|
||||||
@@ -1144,7 +1141,6 @@ kubernetes = {
|
|||||||
#enabled = false
|
#enabled = false
|
||||||
image = "ghcr.io/requarks/wiki:2.5"
|
image = "ghcr.io/requarks/wiki:2.5"
|
||||||
service_port = [3000]
|
service_port = [3000]
|
||||||
#domain_name = "wikijs"
|
|
||||||
extra_manifest = ["/opt/kubernetes/Terraform_kube/external_manifests/wikijs/wikijs-db.secret.yaml"]
|
extra_manifest = ["/opt/kubernetes/Terraform_kube/external_manifests/wikijs/wikijs-db.secret.yaml"]
|
||||||
database = {
|
database = {
|
||||||
image = "postgres:17"
|
image = "postgres:17"
|
||||||
@@ -1935,7 +1931,6 @@ kubernetes = {
|
|||||||
#disabled because it needs AI to import a pdf and AI integration is not working
|
#disabled because it needs AI to import a pdf and AI integration is not working
|
||||||
enabled = false
|
enabled = false
|
||||||
replicas = 01
|
replicas = 01
|
||||||
domain_name = "reactive"
|
|
||||||
image = "ghcr.io/amruthpillai/reactive-resume:latest"
|
image = "ghcr.io/amruthpillai/reactive-resume:latest"
|
||||||
service_port = [3000]
|
service_port = [3000]
|
||||||
environment = {
|
environment = {
|
||||||
@@ -1968,7 +1963,6 @@ kubernetes = {
|
|||||||
replicas = 01
|
replicas = 01
|
||||||
image = "opencloudeu/opencloud-rolling:latest"
|
image = "opencloudeu/opencloud-rolling:latest"
|
||||||
service_port = [9200]
|
service_port = [9200]
|
||||||
#domain_name = "opencloud"
|
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
#IDM_CREATE_DEMO_USERS = {
|
#IDM_CREATE_DEMO_USERS = {
|
||||||
@@ -2009,7 +2003,6 @@ kubernetes = {
|
|||||||
replicas = 0
|
replicas = 0
|
||||||
image = "owncloud/server"
|
image = "owncloud/server"
|
||||||
service_port = [8080]
|
service_port = [8080]
|
||||||
domain_name = "owncloud"
|
|
||||||
database = {
|
database = {
|
||||||
"engine" = "mysql"
|
"engine" = "mysql"
|
||||||
"image" = "lscr.io/linuxserver/mariadb"
|
"image" = "lscr.io/linuxserver/mariadb"
|
||||||
@@ -2065,7 +2058,6 @@ kubernetes = {
|
|||||||
replicas = 01
|
replicas = 01
|
||||||
image = "kopia/kopia"
|
image = "kopia/kopia"
|
||||||
service_port = [51515]
|
service_port = [51515]
|
||||||
domain_name = "kopia"
|
|
||||||
command = ["start", "--disable-csrf-token-checks", "--insecure", "--address=0.0.0.0:51515", "--server-username=USERNAME", "--server-password=SECRET_PASSWORD"]
|
command = ["start", "--disable-csrf-token-checks", "--insecure", "--address=0.0.0.0:51515", "--server-username=USERNAME", "--server-password=SECRET_PASSWORD"]
|
||||||
environment = {
|
environment = {
|
||||||
KOPIA_PASSWORD = {
|
KOPIA_PASSWORD = {
|
||||||
@@ -2096,7 +2088,6 @@ kubernetes = {
|
|||||||
replicas = 01
|
replicas = 01
|
||||||
image = "ghcr.io/degoog-org/degoog:latest"
|
image = "ghcr.io/degoog-org/degoog:latest"
|
||||||
service_port = [4444]
|
service_port = [4444]
|
||||||
domain_name = "degoog"
|
|
||||||
environment = {
|
environment = {
|
||||||
DEGOOG_SETTINGS_PASSWORDS = {
|
DEGOOG_SETTINGS_PASSWORDS = {
|
||||||
value = "Crease1-City-Canned"
|
value = "Crease1-City-Canned"
|
||||||
|
|||||||
+1
-1
@@ -55,7 +55,7 @@ variable "kubernetes" {
|
|||||||
external_port = optional(bool, false)
|
external_port = optional(bool, false)
|
||||||
service_type = optional(string, "ClusterIP")
|
service_type = optional(string, "ClusterIP")
|
||||||
service_name = optional(string)
|
service_name = optional(string)
|
||||||
domain_name = optional(string)
|
domain_name = optional(list(string))
|
||||||
legacy_domain = optional(bool, false)
|
legacy_domain = optional(bool, false)
|
||||||
exposed = optional(bool, true)
|
exposed = optional(bool, true)
|
||||||
liveness_tcp_socket = optional(number)
|
liveness_tcp_socket = optional(number)
|
||||||
|
|||||||
@@ -284,7 +284,7 @@ kubernetes = {
|
|||||||
service_port = [8080, 5000, 8443]
|
service_port = [8080, 5000, 8443]
|
||||||
exposed = true #no need to set as true but I did it for easy access
|
exposed = true #no need to set as true but I did it for easy access
|
||||||
legacy_domain = true
|
legacy_domain = true
|
||||||
domain_name = "bitwarden"
|
domain_name = ["bitwarden"]
|
||||||
config_map_ref = ["uid.env"]
|
config_map_ref = ["uid.env"]
|
||||||
environment = {}
|
environment = {}
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ variable "kubernetes" {
|
|||||||
service_port = optional(list(number))
|
service_port = optional(list(number))
|
||||||
service_type = optional(string, "ClusterIP")
|
service_type = optional(string, "ClusterIP")
|
||||||
service_name = optional(string)
|
service_name = optional(string)
|
||||||
domain_name = optional(string)
|
domain_name = optional(list(string))
|
||||||
legacy_domain = optional(bool, false)
|
legacy_domain = optional(bool, false)
|
||||||
exposed = optional(bool, true)
|
exposed = optional(bool, true)
|
||||||
liveness_tcp_socket = optional(number)
|
liveness_tcp_socket = optional(number)
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ kubernetes = {
|
|||||||
image = "debian"
|
image = "debian"
|
||||||
enabled = false
|
enabled = false
|
||||||
service_port = [19999]
|
service_port = [19999]
|
||||||
domain_name = "netdata"
|
domain_name = ["netdata"]
|
||||||
command = ["sleep", "3600"]
|
command = ["sleep", "3600"]
|
||||||
security_context = true
|
security_context = true
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ variable "kubernetes_input" {
|
|||||||
external_port = optional(bool, false)
|
external_port = optional(bool, false)
|
||||||
service_type = optional(string, "ClusterIP")
|
service_type = optional(string, "ClusterIP")
|
||||||
service_name = optional(string)
|
service_name = optional(string)
|
||||||
domain_name = optional(string)
|
domain_name = optional(list(string))
|
||||||
legacy_domain = optional(bool, false)
|
legacy_domain = optional(bool, false)
|
||||||
exposed = optional(bool, true)
|
exposed = optional(bool, true)
|
||||||
liveness_tcp_socket = optional(number)
|
liveness_tcp_socket = optional(number)
|
||||||
|
|||||||
Reference in New Issue
Block a user