From febf2b89ae5a4fe6002df5be65c462e9be258a7f Mon Sep 17 00:00:00 2001 From: Fabian Kramm Date: Thu, 21 Dec 2023 18:19:21 +0100 Subject: [PATCH] feat: add node port config --- charts/eks/templates/syncer-service.yaml | 2 ++ charts/k0s/templates/service.yaml | 2 ++ charts/k3s/templates/service.yaml | 2 ++ charts/k8s/templates/syncer-service.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/charts/eks/templates/syncer-service.yaml b/charts/eks/templates/syncer-service.yaml index 78e3ef46a..dca4cc97a 100644 --- a/charts/eks/templates/syncer-service.yaml +++ b/charts/eks/templates/syncer-service.yaml @@ -21,12 +21,14 @@ spec: {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.httpsNodePort }} protocol: TCP - name: kubelet port: 10250 {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.kubeletNodePort }} protocol: TCP {{- if .Values.service.externalIPs }} externalIPs: diff --git a/charts/k0s/templates/service.yaml b/charts/k0s/templates/service.yaml index 78e3ef46a..dca4cc97a 100644 --- a/charts/k0s/templates/service.yaml +++ b/charts/k0s/templates/service.yaml @@ -21,12 +21,14 @@ spec: {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.httpsNodePort }} protocol: TCP - name: kubelet port: 10250 {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.kubeletNodePort }} protocol: TCP {{- if .Values.service.externalIPs }} externalIPs: diff --git a/charts/k3s/templates/service.yaml b/charts/k3s/templates/service.yaml index 78e3ef46a..dca4cc97a 100644 --- a/charts/k3s/templates/service.yaml +++ b/charts/k3s/templates/service.yaml @@ -21,12 +21,14 @@ spec: {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.httpsNodePort }} protocol: TCP - name: kubelet port: 10250 {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.kubeletNodePort }} protocol: TCP {{- if .Values.service.externalIPs }} externalIPs: diff --git a/charts/k8s/templates/syncer-service.yaml b/charts/k8s/templates/syncer-service.yaml index 78e3ef46a..dca4cc97a 100644 --- a/charts/k8s/templates/syncer-service.yaml +++ b/charts/k8s/templates/syncer-service.yaml @@ -21,12 +21,14 @@ spec: {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.httpsNodePort }} protocol: TCP - name: kubelet port: 10250 {{- if not .Values.headless }} targetPort: 8443 {{- end }} + nodePort: {{ .Values.service.kubeletNodePort }} protocol: TCP {{- if .Values.service.externalIPs }} externalIPs: