c4k-shynet/src/main/resources/shynet/ingress.yaml

26 lines
788 B
YAML
Raw Normal View History

2022-01-21 12:15:23 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: shynet-webserver-ingress
annotations:
2022-01-21 14:04:03 +00:00
cert-manager.io/cluster-issuer: letsencrypt-staging-issuer
2022-01-21 12:15:23 +00:00
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
2022-01-21 14:04:03 +00:00
secretName: shynet-secret
2022-01-21 12:15:23 +00:00
rules:
- host: fqdn
http:
paths:
- backend:
serviceName: shynet-webserver-service
servicePort: 8080
path: /