From 2af06bc7228f50d7f452d4973aa4ce9af4cd6958 Mon Sep 17 00:00:00 2001 From: Tobias Giese Date: Mon, 14 Oct 2024 09:52:55 +0200 Subject: [PATCH] Template exposed health port in helm chart Signed-off-by: Tobias Giese --- deployment/helm/node-feature-discovery/templates/master.yaml | 2 +- .../helm/node-feature-discovery/templates/topologyupdater.yaml | 2 +- deployment/helm/node-feature-discovery/templates/worker.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/helm/node-feature-discovery/templates/master.yaml b/deployment/helm/node-feature-discovery/templates/master.yaml index d5cd3dce3..c47086cc1 100644 --- a/deployment/helm/node-feature-discovery/templates/master.yaml +++ b/deployment/helm/node-feature-discovery/templates/master.yaml @@ -56,7 +56,7 @@ spec: name: grpc - containerPort: {{ .Values.master.metricsPort | default "8081" }} name: metrics - - containerPort: 8082 + - containerPort: {{ .Values.master.healthPort | default "8082" }} name: health env: - name: NODE_NAME diff --git a/deployment/helm/node-feature-discovery/templates/topologyupdater.yaml b/deployment/helm/node-feature-discovery/templates/topologyupdater.yaml index d7a06ecf7..222e72980 100644 --- a/deployment/helm/node-feature-discovery/templates/topologyupdater.yaml +++ b/deployment/helm/node-feature-discovery/templates/topologyupdater.yaml @@ -97,7 +97,7 @@ spec: ports: - containerPort: {{ .Values.topologyUpdater.metricsPort | default "8081"}} name: metrics - - containerPort: 8082 + - containerPort: {{ .Values.topologyUpdater.healthPort | default "8082" }} name: health volumeMounts: {{- if .Values.topologyUpdater.kubeletConfigPath | empty | not }} diff --git a/deployment/helm/node-feature-discovery/templates/worker.yaml b/deployment/helm/node-feature-discovery/templates/worker.yaml index 146593d13..028b481ad 100644 --- a/deployment/helm/node-feature-discovery/templates/worker.yaml +++ b/deployment/helm/node-feature-discovery/templates/worker.yaml @@ -91,7 +91,7 @@ spec: ports: - containerPort: {{ .Values.worker.metricsPort | default "8081"}} name: metrics - - containerPort: 8082 + - containerPort: {{ .Values.worker.healthPort | default "8082" }} name: health volumeMounts: - name: host-boot