c4k-shynet/src/main/resources/shynet/ingress.yaml
2022-01-27 15:57:11 +01:00

26 lines
No EOL
788 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: shynet-webserver-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging-issuer
kubernetes.io/ingress.class: addon-http-application-routing
nginx.ingress.kubernetes.io/proxy-body-size: "256m"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
spec:
tls:
- hosts:
- fqdn
secretName: shynet-secret
rules:
- host: fqdn
http:
paths:
- backend:
serviceName: shynet-webserver-service
servicePort: 8080
path: /