[stable/sentry] Add Ingress extraPaths to prepend to every host configuration (#22822)

Signed-off-by: Evgeniy Moskalenko <evgeniy.moskalenko@exness.com>

Co-authored-by: Evgeniy Moskalenko <evgeniy.moskalenko@exness.com>
This commit is contained in:
Evgeniy Moskalenko
2020-06-18 07:44:20 -07:00
committed by GitHub
co-authored by Evgeniy Moskalenko
parent d407562106
commit db2373fe20
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Sentry is a cross-platform crash reporting and aggregation platform.
name: sentry
version: 4.2.4
version: 4.3.0
appVersion: 9.1.2
keywords:
- debugging
+1
View File
@@ -152,6 +152,7 @@ Parameter | Description
`ingress.labels` | Ingress labels | `{}`
`ingress.hostname` | URL to address your Sentry installation | `sentry.local`
`ingress.path` | path to address your Sentry installation | `/`
`ingress.extraPaths` | Ingress extra paths to prepend to every host configuration. | `[]`
`ingress.tls` | Ingress TLS configuration | `[]`
`postgresql.enabled` | Deploy postgres server (see below) | `true`
`postgresql.postgresqlDatabase` | Postgres database name | `sentry`
+6
View File
@@ -20,6 +20,12 @@ spec:
- host: {{ .Values.ingress.hostname }}
http:
paths:
{{- range .Values.ingress.extraPaths }}
- path: {{ .path | quote }}
backend:
serviceName: {{ .backend.serviceName }}
servicePort: {{ .backend.servicePort}}
{{- end }}
- path: {{ default "/" .Values.ingress.path | quote }}
backend:
serviceName: {{ template "sentry.fullname" . }}
+8
View File
@@ -198,6 +198,14 @@ ingress:
enabled: false
hostname: sentry.local
## Extra paths to prepend to every host configuration. This is useful when configuring custom actions with
## [AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions).
extraPaths: []
# - path: /*
# backend:
# serviceName: ssl-redirect
# servicePort: use-annotation
## Ingress annotations
##
annotations: {}