26 lines
No EOL
788 B
YAML
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: / |