From 1b0f25b5d2d9385b371434073afc692064bbf8ad Mon Sep 17 00:00:00 2001 From: LokiWager Date: Thu, 28 Sep 2023 12:08:32 +0800 Subject: [PATCH] change nodeport to loadbalancer --- charts/easegress/Chart.yaml | 2 +- charts/easegress/templates/Service.yaml | 4 ++-- charts/easegress/values.yaml | 2 +- charts/ingress-controller/Chart.yaml | 2 +- charts/ingress-controller/templates/Service.yaml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/easegress/Chart.yaml b/charts/easegress/Chart.yaml index fefd08f..c733c88 100644 --- a/charts/easegress/Chart.yaml +++ b/charts/easegress/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: 1.0.1 +version: 1.0.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/easegress/templates/Service.yaml b/charts/easegress/templates/Service.yaml index cfcaa37..e74e366 100644 --- a/charts/easegress/templates/Service.yaml +++ b/charts/easegress/templates/Service.yaml @@ -41,7 +41,7 @@ spec: nodePort: {{ .Values.service.adminPort }} selector: app: {{ .Release.Name }} - type: NodePort + type: {{ .Values.query.type }} --- kind: Service @@ -57,4 +57,4 @@ spec: protocol: TCP port: 8080 nodePort: {{ .Values.service.nodePort }} - type: NodePort + type: {{ .Values.query.type }} diff --git a/charts/easegress/values.yaml b/charts/easegress/values.yaml index f0eccf2..23da2be 100644 --- a/charts/easegress/values.yaml +++ b/charts/easegress/values.yaml @@ -26,7 +26,7 @@ service: adminPort: 31255 query: - type: NodePort + type: LoadBalancer port: 2381 resources: {} diff --git a/charts/ingress-controller/Chart.yaml b/charts/ingress-controller/Chart.yaml index 7d41be0..a63d559 100644 --- a/charts/ingress-controller/Chart.yaml +++ b/charts/ingress-controller/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: 1.0.1 +version: 1.0.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/ingress-controller/templates/Service.yaml b/charts/ingress-controller/templates/Service.yaml index b293695..ac6a4b7 100644 --- a/charts/ingress-controller/templates/Service.yaml +++ b/charts/ingress-controller/templates/Service.yaml @@ -11,4 +11,4 @@ spec: protocol: TCP port: 8080 nodePort: {{ .Values.service.nodePort }} - type: NodePort + type: {{ .Values.query.type }}