This commit is contained in:
Stavros kois
2023-11-09 16:48:16 +02:00
committed by Stavros Kois
parent 814df89df9
commit 1f7e2637dc
5 changed files with 41 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
{{- define "vikunja.postgres" -}}
workload:
{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds"
"resources" .Values.resources
"ixChartContext" .Values.ixChartContext) | nindent 2 }}
{{- end -}}

View File

@@ -0,0 +1,6 @@
{{- define "rvikunja.redis" -}}
workload:
{{- include "ix.v1.common.app.redis" (dict "secretName" "redis-creds"
"resources" .Values.resources) | nindent 2 }}
{{- end -}}

View File

@@ -0,0 +1,27 @@
{{- define "vikunja.service" -}}
service:
vikunja:
enabled: true
primary: true
type: NodePort
targetSelector: vikunja
ports:
webui:
enabled: true
primary: true
port: {{ .Values.vikunjaNetwork.webPort }}
nodePort: {{ .Values.vikunjaNetwork.webPort }}
targetSelector: vikunja
redis:
enabled: true
type: ClusterIP
targetSelector: redis
ports:
redis:
enabled: true
primary: true
port: 6379
targetPort: 6379
targetSelector: redis
{{- include "ix.v1.common.app.postgresService" $ | nindent 2 }}
{{- end -}}

View File

@@ -1 +1 @@
{ "filename": "values.yaml", "keys": ["image", "apiImage", "nginxImage"] }
{ "filename": "values.yaml", "keys": ["image", "frontendImage", "nginxImage"] }

View File

@@ -11,7 +11,7 @@ ENUMS = {
'image': {
'RE_STABLE_VERSION': RE_STABLE_VERSION,
},
'apiImage': {
'frontendImage': {
'RE_STABLE_VERSION': RE_STABLE_VERSION,
},
'nginxImage': {