From 61039bd4df213c67a55af28fca4b924fbad67e78 Mon Sep 17 00:00:00 2001 From: Hansin <845612500@qq.com> Date: Fri, 24 Mar 2023 16:32:07 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=80=82=E9=85=8D=20k8s=201.26?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- charts/auth-service/Chart.yaml | 2 +- charts/auth-service/templates/auth/ingress.yaml | 8 +++++--- charts/auth-ui/Chart.yaml | 2 +- charts/auth-ui/templates/ingress.yaml | 8 +++++--- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/charts/auth-service/Chart.yaml b/charts/auth-service/Chart.yaml index 11f0826..8957c21 100644 --- a/charts/auth-service/Chart.yaml +++ b/charts/auth-service/Chart.yaml @@ -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.1.1 +version: 0.1.2 # 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/auth-service/templates/auth/ingress.yaml b/charts/auth-service/templates/auth/ingress.yaml index 3aea218..8de4792 100644 --- a/charts/auth-service/templates/auth/ingress.yaml +++ b/charts/auth-service/templates/auth/ingress.yaml @@ -1,5 +1,5 @@ {{ if .Values.ingress.enabled }} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: auth-service-{{ .Release.Name }} @@ -18,6 +18,8 @@ spec: - path: / pathType: ImplementationSpecific backend: - serviceName: auth-service-{{ .Release.Name }} - servicePort: 80 + service: + name: auth-service-{{ .Release.Name }} + port: + number: 80 {{ end }} \ No newline at end of file diff --git a/charts/auth-ui/Chart.yaml b/charts/auth-ui/Chart.yaml index 001efa7..dde9f7a 100644 --- a/charts/auth-ui/Chart.yaml +++ b/charts/auth-ui/Chart.yaml @@ -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.1.0 +version: 0.1.1 # 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/auth-ui/templates/ingress.yaml b/charts/auth-ui/templates/ingress.yaml index 03a740d..8b2da7b 100644 --- a/charts/auth-ui/templates/ingress.yaml +++ b/charts/auth-ui/templates/ingress.yaml @@ -1,5 +1,5 @@ {{ if .Values.ingress.enabled }} -apiVersion: networking.k8s.io/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: auth-ui-{{ .Release.Name }} @@ -18,6 +18,8 @@ spec: - path: / pathType: ImplementationSpecific backend: - serviceName: auth-ui-{{ .Release.Name }} - servicePort: 80 + service: + name: auth-ui-{{ .Release.Name }} + port: + number: 80 {{ end }} \ No newline at end of file