chore(mealie): use API_PORT variable to change api port (#4270)
* chore(mealie): use API_PORT variable to change api port * correct port * don't run upgrade
This commit is contained in:
@@ -22,7 +22,7 @@ name: mealie
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/mealie
|
||||
- https://github.com/hay-kot/mealie
|
||||
version: 10.0.10
|
||||
version: 11.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- utilities
|
||||
|
||||
@@ -357,7 +357,7 @@ questions:
|
||||
description: The internal(!) port on the container the Application runs on
|
||||
schema:
|
||||
type: int
|
||||
default: 9000
|
||||
default: 10019
|
||||
# Include{serviceExpertRoot}
|
||||
default: false
|
||||
# Include{serviceExpert}
|
||||
|
||||
@@ -17,8 +17,7 @@ volumeMounts:
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /docs
|
||||
port: {{ .Values.service.api.ports.api.targetPort }}
|
||||
{{/* port: {{ .Values.service.api.ports.api.targetPort }} */}}
|
||||
port: {{ .Values.service.api.ports.api.port }}
|
||||
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
|
||||
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
|
||||
@@ -26,8 +25,7 @@ readinessProbe:
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /docs
|
||||
port: {{ .Values.service.api.ports.api.targetPort }}
|
||||
{{/* port: {{ .Values.service.api.ports.api.targetPort }} */}}
|
||||
port: {{ .Values.service.api.ports.api.port }}
|
||||
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
|
||||
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
|
||||
@@ -35,8 +33,7 @@ livenessProbe:
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /docs
|
||||
port: {{ .Values.service.api.ports.api.targetPort }}
|
||||
{{/* port: {{ .Values.service.api.ports.api.targetPort }} */}}
|
||||
port: {{ .Values.service.api.ports.api.port }}
|
||||
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
|
||||
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
|
||||
periodSeconds: {{ .Values.probes.readiness.spec.periodSeconds }}
|
||||
|
||||
@@ -13,9 +13,7 @@ metadata:
|
||||
labels:
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
data:
|
||||
API_URL: http://localhost:{{ .Values.service.api.ports.api.targetPort }}
|
||||
{{/* https://github.com/hay-kot/mealie/issues/1666 */}}
|
||||
{{/* API_URL: http://localhost:{{ .Values.service.api.ports.api.port }} */}}
|
||||
API_URL: http://localhost:{{ .Values.service.api.ports.api.port }}
|
||||
THEME_LIGHT_PRIMARY: {{ .Values.mealie_frontend.theme.light_primary | default "#E58325" | quote }}
|
||||
THEME_LIGHT_ACCENT: {{ .Values.mealie_frontend.theme.light_accent | default "#007A99" | quote }}
|
||||
THEME_LIGHT_SECONDARY: {{ .Values.mealie_frontend.theme.light_secondary | default "#973542" | quote }}
|
||||
@@ -48,9 +46,7 @@ data:
|
||||
POSTGRES_USER: {{ .Values.postgresql.postgresqlUsername }}
|
||||
POSTGRES_DB: {{ .Values.postgresql.postgresqlDatabase }}
|
||||
POSTGRES_SERVER: {{ printf "%v-%v" .Release.Name "postgresql" }}
|
||||
API_PORT: {{ .Values.service.api.ports.api.targetPort | quote }}
|
||||
{{/* https://github.com/hay-kot/mealie/issues/1666 */}}
|
||||
{{/* API_PORT: {{ .Values.service.api.ports.api.port | quote }} */}}
|
||||
API_PORT: {{ .Values.service.api.ports.api.port | quote }}
|
||||
{{/* User Defined */}}
|
||||
{{/* General */}}
|
||||
ALLOW_SIGNUP: {{ .Values.mealie_backend.general.allow_signup | quote }}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
image:
|
||||
repository: tccr.io/truecharts/mealie-frontend
|
||||
tag: v1.0.0beta@sha256:be031b8c1c6a1698f18e7750a1482ca85f6c311bbb594cf8da46d0e206b0729a
|
||||
tag: v1.0.0beta@sha256:4158c31d037c2ece8931d2e2b120654b6f658b020f9273e8a2cc289d9e715552
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
apiImage:
|
||||
repository: tccr.io/truecharts/mealie-api
|
||||
tag: v1.0.0beta@sha256:4dad1521060d896c2e4782f57ca48007e831b2df497746637eb8f2d6a4a23c90
|
||||
tag: v1.0.0beta@sha256:1a3b047474f908ae97a78d0f679892aa0f1bbea1e97abaf57c115df1b33d398a
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
securityContext:
|
||||
@@ -72,13 +72,13 @@ envFrom:
|
||||
probes:
|
||||
liveness:
|
||||
type: HTTP
|
||||
path: "/"
|
||||
path: /
|
||||
readiness:
|
||||
type: HTTP
|
||||
path: "/"
|
||||
path: /
|
||||
startup:
|
||||
type: HTTP
|
||||
path: "/"
|
||||
path: /
|
||||
|
||||
service:
|
||||
main:
|
||||
@@ -95,16 +95,15 @@ service:
|
||||
enabled: true
|
||||
protocol: HTTP
|
||||
port: 10019
|
||||
targetPort: 9000
|
||||
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/app/data"
|
||||
mountPath: /app/data
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
existingSecret: "dbcreds"
|
||||
existingSecret: dbcreds
|
||||
postgresqlUsername: mealie
|
||||
postgresqlDatabase: mealie
|
||||
|
||||
|
||||
Reference in New Issue
Block a user