From c397b2a65e579f0e60b79aedbc270bb64f9c5844 Mon Sep 17 00:00:00 2001 From: sourix Date: Fri, 23 Oct 2020 15:24:05 -0700 Subject: [PATCH] Update the ssh-proxy-public service resource. This is to address https://github.com/cloudfoundry-incubator/kubecf/issues/1509 This is relevant only for deployments that do not use the nginx ingress-controller. The proposal is to ppdate the ssh-proxy-public service resource to match the scheduler pods in kubecf with the correct label. The scheduler pods in 2.5.8 have the following labels app.kubernetes.io/component=scheduler So the spec.selector having a value of app.kubernetes.io/component: ssh-proxy matches nothing. --- chart/templates/ingress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/ingress.yaml b/chart/templates/ingress.yaml index 3bd0887c74..63134592aa 100644 --- a/chart/templates/ingress.yaml +++ b/chart/templates/ingress.yaml @@ -151,7 +151,7 @@ metadata: {{- toYaml $service.annotations | nindent 4 }} {{- end }} labels: - app.kubernetes.io/component: ssh-proxy + app.kubernetes.io/component: scheduler app.kubernetes.io/instance: {{ $root.Release.Name | quote }} app.kubernetes.io/managed-by: {{ $root.Release.Service | quote }} app.kubernetes.io/name: {{ default $root.Chart.Name $root.Values.nameOverride | trunc 63 | trimSuffix "-" | quote }} @@ -159,7 +159,7 @@ metadata: helm.sh/chart: {{ printf "%s-%s" $root.Chart.Name ($root.Chart.Version | replace "+" "_") | quote }} spec: selector: - app.kubernetes.io/component: ssh-proxy + app.kubernetes.io/component: scheduler app.kubernetes.io/instance: {{ $root.Release.Name | quote }} ports: - name: ssh