Add Tornjak
This reverts commit 3210dfe49dfabc96437d1fe60a1b9a5eedb2312b. Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -153,3 +153,35 @@ Create the name of the service account to use
|
||||
{{- end }}
|
||||
{{- $config | toYaml }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Tornjak specific section
|
||||
*/}}
|
||||
|
||||
{{- define "spire-tornjak.fullname" -}}
|
||||
{{ include "spire-server.fullname" . | trimSuffix "-server" }}-tornjak
|
||||
{{- end }}
|
||||
{{- define "spire-tornjak.config" -}}
|
||||
{{ include "spire-tornjak.fullname" . }}-config
|
||||
{{- end }}
|
||||
{{- define "spire-tornjak.frontend" -}}
|
||||
{{ include "spire-tornjak.fullname" . }}-fe
|
||||
{{- end }}
|
||||
{{- define "spire-tornjak.backend" -}}
|
||||
{{ include "spire-tornjak.fullname" . }}-be
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create URL for accessing Tornjak Backend
|
||||
*/}}
|
||||
{{- define "tornjak.apiURL" -}}
|
||||
{{- default .Values.tornjak.config.frontend.apiServerURL }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create URL for accessing Tornjak Frontend
|
||||
*/}}
|
||||
{{- define "tornjak.frontendURL" -}}
|
||||
{{- $feurl := print "http://localhost:3000" }}
|
||||
{{- $feurl }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user