fix: Separate service port and container port in Helm (#549)

This commit is contained in:
Yu Inoue
2023-11-17 22:11:35 +01:00
committed by GitHub
parent bca077831b
commit ecf94dccc1
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: http - name: http
containerPort: {{ .Values.service.port }} containerPort: {{ .Values.service.containerPort | default 1337 }}
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: httpGet:
+4
View File
@@ -46,6 +46,10 @@ securityContext: {}
service: service:
type: ClusterIP type: ClusterIP
port: 1337 port: 1337
## @param service.containerPort Planka HTTP container port
## If empty will default to 1337
##
containerPort: 1337
ingress: ingress:
enabled: false enabled: false