From 4ea06475830c662fec112fc3f127b67bb62cdaea Mon Sep 17 00:00:00 2001 From: IhsenBouallegue Date: Thu, 15 Dec 2022 13:47:23 +0100 Subject: [PATCH] remove nodeport --- charts/hubone/Chart.yaml | 2 +- charts/hubone/templates/service.yaml | 4 +--- charts/hubone/values.yaml | 7 +++---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/charts/hubone/Chart.yaml b/charts/hubone/Chart.yaml index 617669a..2cbebcb 100644 --- a/charts/hubone/Chart.yaml +++ b/charts/hubone/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: 2.0.0 # 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/hubone/templates/service.yaml b/charts/hubone/templates/service.yaml index dea1e6d..b580315 100644 --- a/charts/hubone/templates/service.yaml +++ b/charts/hubone/templates/service.yaml @@ -12,9 +12,7 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} - targetPort: {{ .Values.service.port }} - nodePort: {{ .Values.service.nodePort }} protocol: TCP - name: http + targetPort: {{ .Values.service.port }} selector: {{- include "hubone.selectorLabels" . | nindent 4 }} diff --git a/charts/hubone/values.yaml b/charts/hubone/values.yaml index 32a27db..fbf4c8a 100644 --- a/charts/hubone/values.yaml +++ b/charts/hubone/values.yaml @@ -25,20 +25,19 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "hubone" -podAnnotations: +podAnnotations: argocd.argoproj.io/sync-wave: "2" service: type: NodePort port: 3000 - nodePort: 30200 - annotations: + annotations: argocd.argoproj.io/sync-wave: "2" ingress: enabled: true className: "" - annotations: + annotations: kubernetes.io/ingress.class: nginx argocd.argoproj.io/sync-wave: "3"