From e2e2f5054b82bd37e82ce5b628d3408b343230e9 Mon Sep 17 00:00:00 2001 From: Guilherme Sautner Date: Thu, 21 Sep 2023 09:34:47 -0300 Subject: [PATCH] fix: service port on ingress --- charts/cryptpad/Chart.yaml | 2 +- charts/cryptpad/templates/ingress.yaml | 2 +- charts/cryptpad/tests/__snapshot__/ingress_test.yaml.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/cryptpad/Chart.yaml b/charts/cryptpad/Chart.yaml index b07274b..8083a2c 100644 --- a/charts/cryptpad/Chart.yaml +++ b/charts/cryptpad/Chart.yaml @@ -21,7 +21,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.6 +version: 0.0.7 # 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/cryptpad/templates/ingress.yaml b/charts/cryptpad/templates/ingress.yaml index a547981..5d5dca4 100644 --- a/charts/cryptpad/templates/ingress.yaml +++ b/charts/cryptpad/templates/ingress.yaml @@ -1,6 +1,6 @@ {{- if .Values.ingress.enabled -}} {{- $fullName := include "cryptpad-helm.fullname" . -}} -{{- $svcPort := .Values.service.port -}} +{{- $svcPort := .Values.service.externalPort -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: diff --git a/charts/cryptpad/tests/__snapshot__/ingress_test.yaml.snap b/charts/cryptpad/tests/__snapshot__/ingress_test.yaml.snap index 6bda9ba..dd76051 100644 --- a/charts/cryptpad/tests/__snapshot__/ingress_test.yaml.snap +++ b/charts/cryptpad/tests/__snapshot__/ingress_test.yaml.snap @@ -8,6 +8,6 @@ should set values properly: service: name: release-cryptpad port: - number: null + number: 80 path: / pathType: ImplementationSpecific