Skip to content

Commit

Permalink
Merge pull request #5 from SquadcastHub/fix/port-name
Browse files Browse the repository at this point in the history
fix: Change the port name from http to web
  • Loading branch information
roshan8 authored Mar 13, 2023
2 parents f6e7bf2 + 0f99ca3 commit f617641
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions squadcast-helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ spec:
args: {{ .Values.overrideContainerStartCommand.args}}
{{- end }}
ports:
- name: http
- name: web
containerPort: {{ .Values.service.port }}
protocol: TCP
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /livez
port: http
port: web
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
Expand All @@ -61,7 +61,7 @@ spec:
readinessProbe:
httpGet:
path: /readyz
port: http
port: web
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
Expand Down
4 changes: 2 additions & 2 deletions squadcast-helm/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: 80
protocol: TCP
name: http
name: web
selector:
{{- include "squadcast-helm.selectorLabels" . | nindent 4 }}

0 comments on commit f617641

Please sign in to comment.