More port-alignment, and enable Ingress

This commit is contained in:
Jack Jackson 2025-04-07 16:25:37 -07:00
parent a225b0130a
commit 9c504e5145
3 changed files with 9 additions and 8 deletions

View File

@ -50,8 +50,9 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
- name: http - port: {{ .Values.service.port }}
containerPort: {{ .Values.service.port }} containerPort: 8080
name: http
protocol: TCP protocol: TCP
# livenessProbe: # livenessProbe:
# httpGet: # httpGet:

View File

@ -8,7 +8,7 @@ spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}
ports: ports:
- port: {{ .Values.service.port }} - port: {{ .Values.service.port }}
targetPort: 80 targetPort: http
protocol: TCP protocol: TCP
name: http name: http
selector: selector:

View File

@ -39,17 +39,17 @@ securityContext: {}
# runAsUser: 1000 # runAsUser: 1000
service: service:
type: ClusterIP type: LoadBalancer
port: 80 port: 8597
ingress: ingress:
enabled: false enabled: true
className: "" className: "traefik"
annotations: {} annotations: {}
# kubernetes.io/ingress.class: nginx # kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true" # kubernetes.io/tls-acme: "true"
hosts: hosts:
- host: chart-example.local - host: miniflux.avril
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific