Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #111 from FabianKramm/master
Browse files Browse the repository at this point in the history
chart: correct port names
  • Loading branch information
FabianKramm authored Mar 29, 2021
2 parents 5b4b668 + 8637b49 commit 6fd4311
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion chart/templates/apiserviceservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
ports:
- port: 443
- name: apiservice
port: 443
protocol: TCP
targetPort: 8443
selector:
Expand Down
9 changes: 8 additions & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ spec:
terminationGracePeriodSeconds: 10
serviceAccountName: {{ template "kiosk.serviceAccountName" . }}
containers:
- command:
- ports:
- name: webhook
containerPort: 9443
protocol: TCP
- name: apiservice
containerPort: 8443
protocol: TCP
command:
{{- range $f := .Values.kiosk.command }}
- {{ $f | quote }}
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
- name: webhook
port: {{ .Values.service.port }}
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
selector:
app: {{ template "kiosk.fullname" . }}
release: {{ .Release.Name }}

0 comments on commit 6fd4311

Please sign in to comment.