Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# spring-service

## 5.4.0

- Allow to configure `overwriteRequestRetries`

## 5.3.0

- Allow to configure a `securityContext`
Expand Down
2 changes: 1 addition & 1 deletion charts/spring-service/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
name: spring-service
description: A generalized deployment for Meisterplan Spring Boot services in Kubernetes.
version: 5.3.0
version: 5.4.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
name: {{ .Values.serviceName }}-public
namespace: "{{ required "Namespace must be set!" .Values.namespace }}"
annotations:
{{- if .Values.ingress.overwriteRequestRetries }}
nginx.ingress.kubernetes.io/proxy-stream-next-upstream-tries: {{ .Values.ingress.overwriteRequestRetries }}
{{- end }}
{{- if .Values.ingress.overwriteCustomHttpErrors }}
nginx.ingress.kubernetes.io/custom-http-errors: {{ .Values.ingress.overwriteCustomHttpErrors }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
name: myservice-public
namespace: "team-supercool"
annotations:
nginx.ingress.kubernetes.io/proxy-stream-next-upstream-tries: 420
nginx.ingress.kubernetes.io/custom-http-errors: 502
nginx.ingress.kubernetes.io/auth-signin: https://oauth2.mycompany.tld/oauth2/start?rd=https%3A%2F%2F$http_host$escaped_request_uri
nginx.ingress.kubernetes.io/auth-url: https://oauth2.mycompany.tld/oauth2/auth
Expand Down
1 change: 1 addition & 0 deletions tests/spring-service/complex-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ingress:
- "myservice.othercompany.tld"
oauth2ProxyProtected: true
overwriteCustomHttpErrors: "502"
overwriteRequestRetries: 420

env:
copyOwnExternalBaseURLIn: "SERVICE_MYSERVICE_BASE_URL"
Expand Down