Fix containerPort to not be affected by service.port

pull/549/head
Yu Inoue 2 years ago
parent 0575e665fe
commit c58c6c98c5

@ -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.targetPort | default 1337 }}
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
httpGet: httpGet:

@ -46,6 +46,10 @@ securityContext: {}
service: service:
type: ClusterIP type: ClusterIP
port: 1337 port: 1337
## @param service.targetPort Planka HTTP container port
## If empty will default to 1337
##
targetPort: 1337
ingress: ingress:
enabled: false enabled: false

Loading…
Cancel
Save