Added nginx annotations to skooner ingress
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
635246317f
commit
e92853b736
@ -43,6 +43,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: skooner
|
- name: skooner
|
||||||
image: ghcr.io/skooner-k8s/skooner:stable
|
image: ghcr.io/skooner-k8s/skooner:stable
|
||||||
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 4654
|
- containerPort: 4654
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
@ -80,6 +81,12 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "upgrade";
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
tls:
|
tls:
|
||||||
|
Loading…
Reference in New Issue
Block a user