This commit is contained in:
2024-05-28 17:01:16 +02:00
parent 288f4dc780
commit dac4852e32
14 changed files with 1720 additions and 11 deletions

View File

@@ -0,0 +1,28 @@
resource "kubectl_manifest" "Ingress_openproject" {
yaml_body = <<-EOF
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openproject
labels: ${jsonencode(local.common-labels)}
namespace: ${var.namespace}
ownerReferences: ${jsonencode(var.install_owner)}
spec:
tls:
- hosts:
- openproject.example.com
secretName: ''
rules:
- host: openproject.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: openproject
port:
name: http
EOF
}