BotDiscord/cicd/templates/ingress.yaml
2024-06-28 01:12:45 +02:00

21 lines
644 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: "{{.Values.config.prefix}}-webhook"
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
haproxy-ingress.github.io/ssl-redirect: "false"
kubernetes.io/ingress.class: "{{.Values.config.ingress.class}}"
spec:
rules:
- host: "{{.Values.config.ingress.domain}}"
http:
paths:
- path: "/{{.Values.config.name}}/{{.Values.config.prefix}}"
pathType: Exact
backend:
service:
name: "el-{{.Values.config.prefix}}-event-listener"
port:
number: 8080