Rename admin frontend/backend
This commit is contained in:
parent
427f484839
commit
f9516dcfa0
3 changed files with 18 additions and 18 deletions
|
@ -14,18 +14,18 @@ data:
|
||||||
FLASK_APP: app.py
|
FLASK_APP: app.py
|
||||||
FLASK_ENV: {{ .Values.backend.flaskEnv }}
|
FLASK_ENV: {{ .Values.backend.flaskEnv }}
|
||||||
# Probably needed in the future:
|
# Probably needed in the future:
|
||||||
# ADMIN_BACKEND_USERNAME: {{ .Values.backend.username | quote }}
|
# DASHBOARD_BACKEND_USERNAME: {{ .Values.backend.username | quote }}
|
||||||
# ADMIN_BACKEND_EMAIL: {{ .Values.backend.email | quote }}
|
# DASHBOARD_BACKEND_EMAIL: {{ .Values.backend.email | quote }}
|
||||||
# {{- if .Values.backend.smtp.enabled }}
|
# {{- if .Values.backend.smtp.enabled }}
|
||||||
# ADMIN_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }}
|
# DASHBOARD_BACKEND_SMTP_HOST: {{ .Values.backend.smtp.host | quote }}
|
||||||
# ADMIN_BACKEND_SMTP_PORT: {{ .Values.backend.smtp.port | quote }}
|
# DASHBOARD_BACKEND_SMTP_PORT: {{ .Values.backend.smtp.port | quote }}
|
||||||
# {{- if .Values.backend.smtp.user }}
|
# {{- if .Values.backend.smtp.user }}
|
||||||
# ADMIN_BACKEND_SMTP_USER: {{ .Values.backend.smtp.user | quote }}
|
# DASHBOARD_BACKEND_SMTP_USER: {{ .Values.backend.smtp.user | quote }}
|
||||||
# {{- end }}
|
# {{- end }}
|
||||||
# {{- if .Values.backend.smtp.protocol }}
|
# {{- if .Values.backend.smtp.protocol }}
|
||||||
# ADMIN_BACKEND_SMTP_PROTOCOL: {{ .Values.backend.smtp.protocol | quote }}
|
# DASHBOARD_BACKEND_SMTP_PROTOCOL: {{ .Values.backend.smtp.protocol | quote }}
|
||||||
# {{- end }}
|
# {{- end }}
|
||||||
# {{- if .Values.backend.smtp.auth }}
|
# {{- if .Values.backend.smtp.auth }}
|
||||||
# ADMIN_BACKEND_SMTP_AUTH: {{ .Values.backend.smtp.auth | quote }}
|
# DASHBOARD_BACKEND_SMTP_AUTH: {{ .Values.backend.smtp.auth | quote }}
|
||||||
# {{- end }}
|
# {{- end }}
|
||||||
# {{- end }}
|
# {{- end }}
|
||||||
|
|
|
@ -127,13 +127,13 @@ spec:
|
||||||
args: {{- include "common.tplvalues.render" (dict "value" .Values.backend.args "context" $) | nindent 12 }}
|
args: {{- include "common.tplvalues.render" (dict "value" .Values.backend.args "context" $) | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: ADMIN_PANEL_PASSWORD
|
- name: DASHBOARD_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "backend.secretName" . }}
|
name: {{ include "backend.secretName" . }}
|
||||||
key: backend-password
|
key: backend-password
|
||||||
{{- if (include "backend.smtp.password.enabled" .) }}
|
{{- if (include "backend.smtp.password.enabled" .) }}
|
||||||
- name: ADMIN_PANEL_SMTP_PASSWORD
|
- name: DASHBOARD_SMTP_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "backend.smtp.secretName" . }}
|
name: {{ include "backend.smtp.secretName" . }}
|
||||||
|
|
|
@ -43,11 +43,11 @@ commonAnnotations: {}
|
||||||
image:
|
image:
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
|
|
||||||
## Admin dashboard configuration parameters
|
## Dashboard configuration parameters
|
||||||
## ref: https://open.greenhost.net/stackspin/dashboard
|
## ref: https://open.greenhost.net/stackspin/dashboard
|
||||||
##
|
##
|
||||||
dashboard:
|
dashboard:
|
||||||
## Admin dashboard image version
|
## Dashboard image version
|
||||||
## ref: https://hub.docker.com/r/bitnami/dashboard/tags/
|
## ref: https://hub.docker.com/r/bitnami/dashboard/tags/
|
||||||
## @param image.registry Stackspin image registry
|
## @param image.registry Stackspin image registry
|
||||||
## @param image.repository Stackspin image repository
|
## @param image.repository Stackspin image repository
|
||||||
|
@ -58,7 +58,7 @@ dashboard:
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
registry: open.greenhost.net:4567
|
registry: open.greenhost.net:4567
|
||||||
repository: stackspin/admin/admin
|
repository: stackspin/dashboard/dashboard
|
||||||
tag: 0.1.1
|
tag: 0.1.1
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||||
|
@ -198,7 +198,7 @@ dashboard:
|
||||||
## For example:
|
## For example:
|
||||||
## extraEnvVars:
|
## extraEnvVars:
|
||||||
## dashboard:
|
## dashboard:
|
||||||
## - name: ADMIN_PANEL_ELASTICSEARCH_URL
|
## - name: DASHBOARD_ELASTICSEARCH_URL
|
||||||
## value: test
|
## value: test
|
||||||
##
|
##
|
||||||
extraEnvVars: []
|
extraEnvVars: []
|
||||||
|
@ -216,11 +216,11 @@ dashboard:
|
||||||
## mountPath: /path/to/ca_cert
|
## mountPath: /path/to/ca_cert
|
||||||
##
|
##
|
||||||
extraVolumeMounts: []
|
extraVolumeMounts: []
|
||||||
## Admin backend configuration parameters
|
## Dashboard backend configuration parameters
|
||||||
## ref: https://open.greenhost.net/stackspin/dashboard-backend
|
## ref: https://open.greenhost.net/stackspin/dashboard-backend
|
||||||
##
|
##
|
||||||
backend:
|
backend:
|
||||||
## Admin dashboard image version
|
## Dashboard image version
|
||||||
## ref: https://hub.docker.com/r/bitnami/dashboard/tags/
|
## ref: https://hub.docker.com/r/bitnami/dashboard/tags/
|
||||||
## @param image.registry Stackspin image registry
|
## @param image.registry Stackspin image registry
|
||||||
## @param image.repository Stackspin image repository
|
## @param image.repository Stackspin image repository
|
||||||
|
@ -231,7 +231,7 @@ backend:
|
||||||
##
|
##
|
||||||
image:
|
image:
|
||||||
registry: open.greenhost.net:4567
|
registry: open.greenhost.net:4567
|
||||||
repository: stackspin/admin-backend/admin-backend
|
repository: stackspin/dashboard-backend/dashboard-backend
|
||||||
tag: 0.1.0
|
tag: 0.1.0
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||||
|
@ -309,7 +309,7 @@ backend:
|
||||||
##
|
##
|
||||||
email: user@example.com
|
email: user@example.com
|
||||||
|
|
||||||
## Admin panel SMTP settings
|
## dashboard SMTP settings
|
||||||
## @param backend.smtp.enabled Enable/disable SMTP
|
## @param backend.smtp.enabled Enable/disable SMTP
|
||||||
## @param backend.smtp.host SMTP host name
|
## @param backend.smtp.host SMTP host name
|
||||||
## @param backend.smtp.port SMTP port number
|
## @param backend.smtp.port SMTP port number
|
||||||
|
@ -419,7 +419,7 @@ backend:
|
||||||
## For example:
|
## For example:
|
||||||
## extraEnvVars:
|
## extraEnvVars:
|
||||||
## backend:
|
## backend:
|
||||||
## - name: ADMIN_PANEL_ELASTICSEARCH_URL
|
## - name: DASHBOARD_ELASTICSEARCH_URL
|
||||||
## value: test
|
## value: test
|
||||||
##
|
##
|
||||||
extraEnvVars: []
|
extraEnvVars: []
|
||||||
|
|
Loading…
Reference in a new issue