File tree Expand file tree Collapse file tree 5 files changed +10
-1
lines changed
templates/post-deployment
tests/spring-service/complex-service
expected/spring-service/templates/post-deployment Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11# spring-service
22
3+ ## 5.4.0
4+
5+ - Allow to configure ` overwriteRequestRetries `
6+
37## 5.3.0
48
59- Allow to configure a ` securityContext `
Original file line number Diff line number Diff line change 11apiVersion : v1
22name : spring-service
33description : A generalized deployment for Meisterplan Spring Boot services in Kubernetes.
4- version : 5.3 .0
4+ version : 5.4 .0
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ metadata:
55 name : {{ .Values.serviceName }}-public
66 namespace : " {{ required " Namespace must be set!" .Values.namespace }}"
77 annotations :
8+ {{- if .Values.ingress.overwriteRequestRetries }}
9+ nginx.ingress.kubernetes.io/proxy-stream-next-upstream-tries : {{ .Values.ingress.overwriteRequestRetries }}
10+ {{- end }}
811 {{- if .Values.ingress.overwriteCustomHttpErrors }}
912 nginx.ingress.kubernetes.io/custom-http-errors : {{ .Values.ingress.overwriteCustomHttpErrors }}
1013 {{- end }}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ metadata:
66 name : myservice-public
77 namespace : " team-supercool"
88 annotations :
9+ nginx.ingress.kubernetes.io/proxy-stream-next-upstream-tries : 420
910 nginx.ingress.kubernetes.io/custom-http-errors : 502
1011 nginx.ingress.kubernetes.io/auth-signin : https://oauth2.mycompany.tld/oauth2/start?rd=https%3A%2F%2F$http_host$escaped_request_uri
1112 nginx.ingress.kubernetes.io/auth-url : https://oauth2.mycompany.tld/oauth2/auth
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ ingress:
3131 - " myservice.othercompany.tld"
3232 oauth2ProxyProtected : true
3333 overwriteCustomHttpErrors : " 502"
34+ overwriteRequestRetries : 420
3435
3536env :
3637 copyOwnExternalBaseURLIn : " SERVICE_MYSERVICE_BASE_URL"
You can’t perform that action at this time.
0 commit comments