Files
domain-incoming/apps/openproject/openproject_Ingress.tf
2024-05-28 17:01:16 +02:00

29 lines
666 B
HCL

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
}