Skip to content

Commit

Permalink
fix: Separate service port and container port in Helm (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
eternity1984 authored Nov 17, 2023
1 parent 37c0b59 commit 11fc3b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/planka/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
containerPort: {{ .Values.service.containerPort | default 1337 }}
protocol: TCP
livenessProbe:
httpGet:
Expand Down
4 changes: 4 additions & 0 deletions charts/planka/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ securityContext: {}
service:
type: ClusterIP
port: 1337
## @param service.containerPort Planka HTTP container port
## If empty will default to 1337
##
containerPort: 1337

ingress:
enabled: false
Expand Down

0 comments on commit 11fc3b4

Please sign in to comment.