Skip to content

Commit

Permalink
Fixed ingress path. 📡
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbeutler committed Jan 10, 2025
1 parent d241684 commit 2f50bd3
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/truvami-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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.0.12
version: 0.0.13

# 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
2 changes: 1 addition & 1 deletion charts/truvami-gateway/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
- host: {{ . | quote }}
http:
paths:
- path: "/{{ sha256sum $gateway.name }}"
- path: "/{{ sha256sum $gateway.name }}(/|$)(.*)"
pathType: Prefix
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
Expand Down
2 changes: 1 addition & 1 deletion charts/truvami-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ingress:
enabled: false
className: ""
annotations:
{}
nginx.ingress.kubernetes.io/rewrite-target: /$2
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
tls: []
Expand Down
6 changes: 3 additions & 3 deletions charts/truvami-stack/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dependencies:
- name: truvami-gateway
repository: file://../truvami-gateway/
version: 0.0.12
version: 0.0.13
- name: truvami-bridge
repository: file://../truvami-bridge/
version: 0.0.1
- name: truvami-api
repository: file://../truvami-api/
version: 0.0.1
digest: sha256:4e6d29ee9b41a0952371461b056925d016abafe48ea2c2c713405993fb583696
generated: "2025-01-10T18:47:17.466633+01:00"
digest: sha256:c0743393d9eccb2eb1958678022ac12684853af948c054841758ffc28411b94f
generated: "2025-01-10T19:07:07.281807+01:00"
4 changes: 2 additions & 2 deletions charts/truvami-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ 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.1.11
version: 0.1.12

# Each truvami application has it's own chart and can be deployed independently.
# This chart is a parent chart that deploys all the truvami applications.
dependencies:
- name: truvami-gateway
version: 0.0.12
version: 0.0.13
repository: "file://../truvami-gateway/"
- name: truvami-bridge
version: 0.0.1
Expand Down
Binary file modified charts/truvami-stack/charts/truvami-api-0.0.1.tgz
Binary file not shown.
Binary file modified charts/truvami-stack/charts/truvami-bridge-0.0.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 3 additions & 2 deletions truvami-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ truvami-gateway:
className: "nginx-external"
annotations:
"cert-manager.io/issuer": "truvami-letsencrypt-production"
"nginx.ingress.kubernetes.io/rewrite-target": /$2
tls:
- secretName: gateway-truvami-com-tls
- secretName: gateway-test-truvami-com-tls
hosts:
- gateway.truvami.com
- gateway.test.truvami.com

0 comments on commit 2f50bd3

Please sign in to comment.