Skip to content

Commit

Permalink
Fix non-alpha label for port (#3018)
Browse files Browse the repository at this point in the history
  • Loading branch information
absoludity committed Jun 21, 2021
1 parent 09db650 commit 275d4bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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: grpc_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: grpc_http
targetPort: grpc-http
protocol: TCP
name: grpc_http
name: grpc-http
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: kubeappsapis
{{- end }}

0 comments on commit 275d4bd

Please sign in to comment.