diff --git a/charts/miniflux/templates/deployment.yaml b/charts/miniflux/templates/deployment.yaml index 059f774..e94b95a 100644 --- a/charts/miniflux/templates/deployment.yaml +++ b/charts/miniflux/templates/deployment.yaml @@ -50,8 +50,9 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - - name: http - containerPort: {{ .Values.service.port }} + - port: {{ .Values.service.port }} + containerPort: 8080 + name: http protocol: TCP # livenessProbe: # httpGet: diff --git a/charts/miniflux/templates/service.yaml b/charts/miniflux/templates/service.yaml index 127f8ad..d1e3798 100644 --- a/charts/miniflux/templates/service.yaml +++ b/charts/miniflux/templates/service.yaml @@ -8,7 +8,7 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} - targetPort: 80 + targetPort: http protocol: TCP name: http selector: diff --git a/charts/miniflux/values.yaml b/charts/miniflux/values.yaml index 22e4234..d25d243 100644 --- a/charts/miniflux/values.yaml +++ b/charts/miniflux/values.yaml @@ -39,17 +39,17 @@ securityContext: {} # runAsUser: 1000 service: - type: ClusterIP - port: 80 + type: LoadBalancer + port: 8597 ingress: - enabled: false - className: "" + enabled: true + className: "traefik" annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: - - host: chart-example.local + - host: miniflux.avril paths: - path: / pathType: ImplementationSpecific