Skip to content

Commit

Permalink
fix: [TKC-2561] add proxy * timeout options for REST ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Oct 15, 2024
1 parent cdf4cbd commit cba144b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions charts/testkube-cloud-api/templates/ingress-rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ metadata:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/preserve-trailing-slash: "true"
nginx.ingress.kubernetes.io/backend-protocol: {{ if .Values.api.tls.serveHTTPS }}HTTPS{{ else }}HTTP{{ end }}
nginx.ingress.kubernetes.io/client-header-timeout: "10800"
nginx.ingress.kubernetes.io/client-body-timeout: "10800"
nginx.ingress.kubernetes.io/proxy-send-timeout: "10800"
nginx.ingress.kubernetes.io/proxy-read-timeout: "10800"
nginx.ingress.kubernetes.io/proxy-connect-timeout: "10800"
{{- if and (not .Values.api.tls.serveHTTPS) (eq .Values.global.certificateProvider "cert-manager") }}
cert-manager.io/cluster-issuer: {{ required ".Values.global.certManager.issuerRef must be provided if provider is cert-manager" .Values.global.certManager.issuerRef }}
{{- end }}
Expand Down

0 comments on commit cba144b

Please sign in to comment.