From 451c9b472dec653500795e7cd245b2378cc6d79c Mon Sep 17 00:00:00 2001 From: Toni Tauro Date: Thu, 14 Sep 2023 17:31:16 +0200 Subject: [PATCH] fix(ingress): add hardcoded Pathtype and add ci/default-values (#17) Signed-off-by: Toni Tauro --- charts/caluma/Chart.yaml | 2 +- charts/caluma/ci/default-values.yaml | 5 +++++ charts/caluma/templates/ingress.yaml | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 charts/caluma/ci/default-values.yaml diff --git a/charts/caluma/Chart.yaml b/charts/caluma/Chart.yaml index db2e34d..683020b 100644 --- a/charts/caluma/Chart.yaml +++ b/charts/caluma/Chart.yaml @@ -7,7 +7,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.10.7 +version: 0.10.8 # 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 diff --git a/charts/caluma/ci/default-values.yaml b/charts/caluma/ci/default-values.yaml new file mode 100644 index 0000000..879076b --- /dev/null +++ b/charts/caluma/ci/default-values.yaml @@ -0,0 +1,5 @@ +ingress: + enabled: true + hosts: + - host: caluma.chart-example.local + tls: [] diff --git a/charts/caluma/templates/ingress.yaml b/charts/caluma/templates/ingress.yaml index e8ca658..5e28a59 100644 --- a/charts/caluma/templates/ingress.yaml +++ b/charts/caluma/templates/ingress.yaml @@ -27,12 +27,14 @@ spec: http: paths: - path: / + pathType: Prefix backend: service: name: {{ $fullName }}-frontend port: number: 80 - path: /graphql + pathType: Prefix backend: service: name: {{ $fullName }}-backend