Rename frontend to dashboard
This commit is contained in:
parent
603fabf3b7
commit
427f484839
7 changed files with 101 additions and 101 deletions
|
|
@ -61,11 +61,11 @@ Return true if backend SMTP uses password authentication
|
|||
Get the user defined LoadBalancerIP for this release
|
||||
Note, returns 127.0.0.1 if using ClusterIP.
|
||||
*/}}
|
||||
{{- define "frontend.serviceIP" -}}
|
||||
{{- if eq .Values.frontend.service.type "ClusterIP" -}}
|
||||
{{- define "dashboard.serviceIP" -}}
|
||||
{{- if eq .Values.dashboard.service.type "ClusterIP" -}}
|
||||
127.0.0.1
|
||||
{{- else -}}
|
||||
{{- .Values.frontend.service.loadBalancerIP | default "" -}}
|
||||
{{- .Values.dashboard.service.loadBalancerIP | default "" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
@ -73,9 +73,9 @@ Note, returns 127.0.0.1 if using ClusterIP.
|
|||
Gets the host to be used for this application.
|
||||
If not using ClusterIP, or if a host or LoadBalancerIP is not defined, the value will be empty
|
||||
*/}}
|
||||
{{- define "frontend.host" -}}
|
||||
{{- $host := .Values.frontend.host | default "" -}}
|
||||
{{- default (include "frontend.serviceIP" .) $host -}}
|
||||
{{- define "dashboard.host" -}}
|
||||
{{- $host := .Values.dashboard.host | default "" -}}
|
||||
{{- default (include "dashboard.serviceIP" .) $host -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
|
@ -86,9 +86,9 @@ Service name for the backend service
|
|||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Service name for the frontend service
|
||||
Service name for the dashboard service
|
||||
*/}}
|
||||
{{- define "frontend.serviceName" -}}
|
||||
{{- define "dashboard.serviceName" -}}
|
||||
{{ include "common.names.fullname" . }}
|
||||
{{- end -}}
|
||||
|
||||
|
|
@ -114,10 +114,10 @@ If not using ClusterIP, or if a host or LoadBalancerIP is not defined, the value
|
|||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper frontend image name
|
||||
Return the proper dashboard image name
|
||||
*/}}
|
||||
{{- define "frontend.image" -}}
|
||||
{{ include "common.images.image" (dict "imageRoot" .Values.frontend.image "global" .Values.global) }}
|
||||
{{- define "dashboard.image" -}}
|
||||
{{ include "common.images.image" (dict "imageRoot" .Values.dashboard.image "global" .Values.global) }}
|
||||
{{- end -}}
|
||||
{{/*
|
||||
Return the proper backend image name
|
||||
|
|
|
|||
Reference in a new issue