Skip to content

Commit

Permalink
Removed nginx rewrite logic
Browse files Browse the repository at this point in the history
  • Loading branch information
cphalen committed Apr 14, 2023
1 parent 9c21410 commit a6b9a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/bender-catalog/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.3
version: 0.2.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 1 addition & 2 deletions charts/bender-catalog/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ metadata:
name: {{ .Release.Name }}-api-ingress
annotations:
cert-manager.io/cluster-issuer: lets-encrypt-prod
nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
rules:
- host: {{ .Values.application.ingress.host | quote }}
http:
paths:
- path: "{{ .Values.application.ingress.path }}(/|$)(.*)"
- path: {{ .Values.application.ingress.path | quote }}
pathType: Prefix
backend:
service:
Expand Down

0 comments on commit a6b9a27

Please sign in to comment.