Skip to content

Commit

Permalink
🔧(core) configure kube too work with recent version
Browse files Browse the repository at this point in the history
prepare terraform for newer version of k8s
  • Loading branch information
lunika committed Nov 29, 2022
1 parent b25f5c5 commit ccecd16
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion k8s/base/env/jvb.env
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ SHUTDOWN_REST_ENABLED=true
# Bind address and port for the OCTO protocol
JVB_OCTO_BIND_ADDRESS=0.0.0.0
JVB_OCTO_BIND_PORT=4096

1 change: 1 addition & 0 deletions k8s/base/jitsi-meet-front-ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
annotations:
cert-manager.io/issuer: "letsencrypt-jitsi-issuer"
spec:
ingressClassName: "nginx"
rules:
- host: "placeholder.domain.example"
http:
Expand Down
2 changes: 1 addition & 1 deletion terraform/kubernetes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ resource "helm_release" "ingress-nginx" {

repository = "https://kubernetes.github.io/ingress-nginx"
chart = "ingress-nginx"
version = "3.39.0"
version = lookup(var.k8s_ingress_nginx_version, terraform.workspace, "3.39.0")

set {
name = "controller.service.type"
Expand Down
10 changes: 10 additions & 0 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -271,3 +271,13 @@ variable "k8s_jvb_nodepool_size" {
default = {
}
}


variable "k8s_ingress_nginx_version" {
type = map(string)
description = "ingress-nginx version to install"

default = {
preprod = "3.39.0"
}
}

0 comments on commit ccecd16

Please sign in to comment.