Skip to content

Commit

Permalink
Update the ssh-proxy-public service resource.
Browse files Browse the repository at this point in the history
This is to address cloudfoundry-incubator#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.
  • Loading branch information
sourix authored Oct 23, 2020
1 parent 153b660 commit c397b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@ 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 }}
app.kubernetes.io/version: {{ default $root.Chart.Version $root.Chart.AppVersion | quote }}
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
Expand Down

0 comments on commit c397b2a

Please sign in to comment.