Skip to content

Commit

Permalink
Update port name for kubeapps-apis to be clear it includes both grpc …
Browse files Browse the repository at this point in the history
…and http. (#2977)
  • Loading branch information
absoludity committed Jun 16, 2021
1 parent 176182e commit 60c2d5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion chart/kubeapps/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ maintainers:
name: kubeapps
sources:
- https://github.com/kubeapps/kubeapps
version: 7.1.1-dev3
version: 7.1.1-dev4
2 changes: 1 addition & 1 deletion chart/kubeapps/templates/kubeappsapis/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ spec:
{{- end }}
{{- end }}
ports:
- name: http
- name: grpc_http
containerPort: {{ .Values.kubeappsapis.containerPort }}
{{- if .Values.kubeappsapis.livenessProbe.enabled }}
livenessProbe: {{- omit .Values.kubeappsapis.livenessProbe "enabled" | toYaml | nindent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions chart/kubeapps/templates/kubeappsapis/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ spec:
type: ClusterIP
ports:
- port: {{ .Values.kubeappsapis.service.port }}
targetPort: http
targetPort: grpc_http
protocol: TCP
name: http
name: grpc_http
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: kubeappsapis
{{- end }}

0 comments on commit 60c2d5c

Please sign in to comment.