rename adminPanel to dashboard and adminFrontend and adminBackend to frontend and backend. Fix JWT secrets
This commit is contained in:
parent
18276be75d
commit
80c2f776d3
12 changed files with 268 additions and 258 deletions
|
|
@ -21,10 +21,10 @@ global:
|
|||
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
|
||||
##
|
||||
kubeVersion: ""
|
||||
## @param nameOverride String to partially override adminPanel.fullname template (will maintain the release name)
|
||||
## @param nameOverride String to partially override dashboard.fullname template (will maintain the release name)
|
||||
##
|
||||
nameOverride: ""
|
||||
## @param fullnameOverride String to fully override adminPanel.fullname template
|
||||
## @param fullnameOverride String to fully override dashboard.fullname template
|
||||
##
|
||||
fullnameOverride: ""
|
||||
## @param commonLabels Labels to be added to all deployed resources
|
||||
|
|
@ -44,11 +44,11 @@ image:
|
|||
imagePullSecrets: []
|
||||
|
||||
## Admin frontend configuration parameters
|
||||
## ref: https://open.greenhost.net/openappstack/admin-frontend
|
||||
## ref: https://open.greenhost.net/openappstack/dashboard-frontend
|
||||
##
|
||||
adminFrontend:
|
||||
frontend:
|
||||
## Admin frontend image version
|
||||
## ref: https://hub.docker.com/r/bitnami/adminFrontend/tags/
|
||||
## ref: https://hub.docker.com/r/bitnami/frontend/tags/
|
||||
## @param image.registry Discourse image registry
|
||||
## @param image.repository Discourse image repository
|
||||
## @param image.tag Discourse image tag
|
||||
|
|
@ -111,18 +111,18 @@ adminFrontend:
|
|||
##
|
||||
nodePorts:
|
||||
http: ""
|
||||
## @param adminFrontend.extendEslint Whether to read .eslint.json rules
|
||||
## @param frontend.extendEslint Whether to read .eslint.json rules
|
||||
extendEslint: false
|
||||
## @param adminFrontend.host Discourse host to create application URLs (include the port if =/= 80)
|
||||
## @param frontend.host Discourse host to create application URLs (include the port if =/= 80)
|
||||
##
|
||||
host: ""
|
||||
## @param adminFrontend.command Custom command to override image cmd
|
||||
## @param frontend.command Custom command to override image cmd
|
||||
##
|
||||
command: []
|
||||
## @param adminFrontend.args Custom args for the custom command
|
||||
## @param frontend.args Custom args for the custom command
|
||||
##
|
||||
args: []
|
||||
## @param adminFrontend.containerSecurityContext Container security context specification
|
||||
## @param frontend.containerSecurityContext Container security context specification
|
||||
## Example:
|
||||
## capabilities:
|
||||
## drop:
|
||||
|
|
@ -138,8 +138,8 @@ adminFrontend:
|
|||
## choice for the user. This also increases chances charts run on environments with little
|
||||
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
## @param adminFrontend.resources.limits The resources limits for the container
|
||||
## @param adminFrontend.resources.requests The requested resources for the container
|
||||
## @param frontend.resources.limits The resources limits for the container
|
||||
## @param frontend.resources.requests The requested resources for the container
|
||||
##
|
||||
resources:
|
||||
## Example:
|
||||
|
|
@ -156,12 +156,12 @@ adminFrontend:
|
|||
## WARNING: Discourse installation process may take up some time and
|
||||
## setting inappropriate values here may lead to pods failure.
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||
## @param adminFrontend.livenessProbe.enabled Enable/disable livenessProbe
|
||||
## @param adminFrontend.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated
|
||||
## @param adminFrontend.livenessProbe.periodSeconds How often to perform the probe
|
||||
## @param adminFrontend.livenessProbe.timeoutSeconds When the probe times out
|
||||
## @param adminFrontend.livenessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param adminFrontend.livenessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
## @param frontend.livenessProbe.enabled Enable/disable livenessProbe
|
||||
## @param frontend.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated
|
||||
## @param frontend.livenessProbe.periodSeconds How often to perform the probe
|
||||
## @param frontend.livenessProbe.timeoutSeconds When the probe times out
|
||||
## @param frontend.livenessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param frontend.livenessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
##
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
|
|
@ -174,12 +174,12 @@ adminFrontend:
|
|||
## WARNING: Discourse installation process may take up some time and
|
||||
## setting inappropriate values here may lead to pods failure.
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||
## @param adminFrontend.readinessProbe.enabled Enable/disable readinessProbe
|
||||
## @param adminFrontend.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated
|
||||
## @param adminFrontend.readinessProbe.periodSeconds How often to perform the probe
|
||||
## @param adminFrontend.readinessProbe.timeoutSeconds When the probe times out
|
||||
## @param adminFrontend.readinessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param adminFrontend.readinessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
## @param frontend.readinessProbe.enabled Enable/disable readinessProbe
|
||||
## @param frontend.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated
|
||||
## @param frontend.readinessProbe.periodSeconds How often to perform the probe
|
||||
## @param frontend.readinessProbe.timeoutSeconds When the probe times out
|
||||
## @param frontend.readinessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param frontend.readinessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
##
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
|
|
@ -188,27 +188,27 @@ adminFrontend:
|
|||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
## @param adminFrontend.customLivenessProbe Custom liveness probe to execute (when the main one is disabled)
|
||||
## @param frontend.customLivenessProbe Custom liveness probe to execute (when the main one is disabled)
|
||||
##
|
||||
customLivenessProbe: {}
|
||||
## @param adminFrontend.customReadinessProbe Custom readiness probe to execute (when the main one is disabled)
|
||||
## @param frontend.customReadinessProbe Custom readiness probe to execute (when the main one is disabled)
|
||||
##
|
||||
customReadinessProbe: {}
|
||||
## @param adminFrontend.extraEnvVars An array to add extra env vars
|
||||
## @param frontend.extraEnvVars An array to add extra env vars
|
||||
## For example:
|
||||
## extraEnvVars:
|
||||
## adminFrontend:
|
||||
## frontend:
|
||||
## - name: ADMIN_PANEL_ELASTICSEARCH_URL
|
||||
## value: test
|
||||
##
|
||||
extraEnvVars: []
|
||||
## @param adminFrontend.extraEnvVarsCM Array to add extra configmaps
|
||||
## @param frontend.extraEnvVarsCM Array to add extra configmaps
|
||||
##
|
||||
extraEnvVarsCM: []
|
||||
## @param adminFrontend.extraEnvVarsSecret Array to add extra environment variables from a secret
|
||||
## @param frontend.extraEnvVarsSecret Array to add extra environment variables from a secret
|
||||
##
|
||||
extraEnvVarsSecret: ""
|
||||
## @param adminFrontend.extraVolumeMounts Additional volume mounts (used along with `extraVolumes`)
|
||||
## @param frontend.extraVolumeMounts Additional volume mounts (used along with `extraVolumes`)
|
||||
## Example: Mount CA file
|
||||
## extraVolumeMounts
|
||||
## - name: ca-cert
|
||||
|
|
@ -216,12 +216,12 @@ adminFrontend:
|
|||
## mountPath: /path/to/ca_cert
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
## Admin frontend configuration parameters
|
||||
## ref: https://open.greenhost.net/openappstack/admin-frontend
|
||||
## Admin backend configuration parameters
|
||||
## ref: https://open.greenhost.net/openappstack/dashboard-backend
|
||||
##
|
||||
adminBackend:
|
||||
backend:
|
||||
## Admin frontend image version
|
||||
## ref: https://hub.docker.com/r/bitnami/adminFrontend/tags/
|
||||
## ref: https://hub.docker.com/r/bitnami/frontend/tags/
|
||||
## @param image.registry Discourse image registry
|
||||
## @param image.repository Discourse image repository
|
||||
## @param image.tag Discourse image tag
|
||||
|
|
@ -285,36 +285,36 @@ adminBackend:
|
|||
http: ""
|
||||
|
||||
|
||||
## @param adminBackend.reactAppApiUrl URL to the admin-backend API
|
||||
## @param backend.reactAppApiUrl URL to the dashboard-backend API
|
||||
apiUrl: "/api/v1"
|
||||
|
||||
## Variables for future use {{{
|
||||
|
||||
## @param adminBackend.username Admin user of the application
|
||||
## @param backend.username Admin user of the application
|
||||
##
|
||||
username: user
|
||||
## @param adminBackend.password password. WARNING: Minimum length of 10 characters
|
||||
## @param backend.password password. WARNING: Minimum length of 10 characters
|
||||
## Defaults to a random 10-character alphanumeric string if not set
|
||||
##
|
||||
password: ""
|
||||
## @param adminBackend.existingSecret Name of an existing secret containing the password (ignores previous password)
|
||||
## @param backend.existingSecret Name of an existing secret containing the password (ignores previous password)
|
||||
## The secret should contain the following key:
|
||||
## adminBackend-password
|
||||
## backend-password
|
||||
##
|
||||
existingSecret: ""
|
||||
## @param adminBackend.email Admin user email of the application
|
||||
## @param backend.email Admin user email of the application
|
||||
##
|
||||
email: user@example.com
|
||||
|
||||
## Admin panel SMTP settings
|
||||
## @param adminBackend.smtp.enabled Enable/disable SMTP
|
||||
## @param adminBackend.smtp.host SMTP host name
|
||||
## @param adminBackend.smtp.port SMTP port number
|
||||
## @param adminBackend.smtp.user SMTP account user name
|
||||
## @param adminBackend.smtp.password SMTP account password
|
||||
## @param adminBackend.smtp.protocol SMTP protocol (Allowed values: tls, ssl)
|
||||
## @param adminBackend.smtp.auth SMTP authentication method
|
||||
## @param adminBackend.smtp.existingSecret Name of an existing Kubernetes secret. The secret must have the following key configured: `smtp-password`
|
||||
## @param backend.smtp.enabled Enable/disable SMTP
|
||||
## @param backend.smtp.host SMTP host name
|
||||
## @param backend.smtp.port SMTP port number
|
||||
## @param backend.smtp.user SMTP account user name
|
||||
## @param backend.smtp.password SMTP account password
|
||||
## @param backend.smtp.protocol SMTP protocol (Allowed values: tls, ssl)
|
||||
## @param backend.smtp.auth SMTP authentication method
|
||||
## @param backend.smtp.existingSecret Name of an existing Kubernetes secret. The secret must have the following key configured: `smtp-password`
|
||||
##
|
||||
smtp:
|
||||
enabled: false
|
||||
|
|
@ -328,13 +328,19 @@ adminBackend:
|
|||
|
||||
## End variables for future use }}}
|
||||
|
||||
## @param adminBackend.command Custom command to override image cmd
|
||||
## @param backend.flaskEnv Overridable flask env for debugging
|
||||
flaskEnv: production
|
||||
|
||||
## @param backend.secretKey Flask secret for generating JWT tokens
|
||||
# secretKey: OVERRIDE_ME
|
||||
|
||||
## @param backend.command Custom command to override image cmd
|
||||
##
|
||||
command: []
|
||||
## @param adminBackend.args Custom args for the custom command
|
||||
## @param backend.args Custom args for the custom command
|
||||
##
|
||||
args: []
|
||||
## @param adminBackend.containerSecurityContext Container security context specification
|
||||
## @param backend.containerSecurityContext Container security context specification
|
||||
## Example:
|
||||
## capabilities:
|
||||
## drop:
|
||||
|
|
@ -350,8 +356,8 @@ adminBackend:
|
|||
## choice for the user. This also increases chances charts run on environments with little
|
||||
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
## @param adminBackend.resources.limits The resources limits for the container
|
||||
## @param adminBackend.resources.requests The requested resources for the container
|
||||
## @param backend.resources.limits The resources limits for the container
|
||||
## @param backend.resources.requests The requested resources for the container
|
||||
##
|
||||
resources:
|
||||
## Example:
|
||||
|
|
@ -368,12 +374,12 @@ adminBackend:
|
|||
## WARNING: Discourse installation process may take up some time and
|
||||
## setting inappropriate values here may lead to pods failure.
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||
## @param adminBackend.livenessProbe.enabled Enable/disable livenessProbe
|
||||
## @param adminBackend.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated
|
||||
## @param adminBackend.livenessProbe.periodSeconds How often to perform the probe
|
||||
## @param adminBackend.livenessProbe.timeoutSeconds When the probe times out
|
||||
## @param adminBackend.livenessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param adminBackend.livenessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
## @param backend.livenessProbe.enabled Enable/disable livenessProbe
|
||||
## @param backend.livenessProbe.initialDelaySeconds Delay before liveness probe is initiated
|
||||
## @param backend.livenessProbe.periodSeconds How often to perform the probe
|
||||
## @param backend.livenessProbe.timeoutSeconds When the probe times out
|
||||
## @param backend.livenessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param backend.livenessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
##
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
|
|
@ -386,12 +392,12 @@ adminBackend:
|
|||
## WARNING: Discourse installation process may take up some time and
|
||||
## setting inappropriate values here may lead to pods failure.
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
|
||||
## @param adminBackend.readinessProbe.enabled Enable/disable readinessProbe
|
||||
## @param adminBackend.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated
|
||||
## @param adminBackend.readinessProbe.periodSeconds How often to perform the probe
|
||||
## @param adminBackend.readinessProbe.timeoutSeconds When the probe times out
|
||||
## @param adminBackend.readinessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param adminBackend.readinessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
## @param backend.readinessProbe.enabled Enable/disable readinessProbe
|
||||
## @param backend.readinessProbe.initialDelaySeconds Delay before readiness probe is initiated
|
||||
## @param backend.readinessProbe.periodSeconds How often to perform the probe
|
||||
## @param backend.readinessProbe.timeoutSeconds When the probe times out
|
||||
## @param backend.readinessProbe.failureThreshold Minimum consecutive failures for the probe
|
||||
## @param backend.readinessProbe.successThreshold Minimum consecutive successes for the probe
|
||||
##
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
|
|
@ -400,27 +406,27 @@ adminBackend:
|
|||
timeoutSeconds: 5
|
||||
failureThreshold: 6
|
||||
successThreshold: 1
|
||||
## @param adminBackend.customLivenessProbe Custom liveness probe to execute (when the main one is disabled)
|
||||
## @param backend.customLivenessProbe Custom liveness probe to execute (when the main one is disabled)
|
||||
##
|
||||
customLivenessProbe: {}
|
||||
## @param adminBackend.customReadinessProbe Custom readiness probe to execute (when the main one is disabled)
|
||||
## @param backend.customReadinessProbe Custom readiness probe to execute (when the main one is disabled)
|
||||
##
|
||||
customReadinessProbe: {}
|
||||
## @param adminBackend.extraEnvVars An array to add extra env vars
|
||||
## @param backend.extraEnvVars An array to add extra env vars
|
||||
## For example:
|
||||
## extraEnvVars:
|
||||
## adminBackend:
|
||||
## backend:
|
||||
## - name: ADMIN_PANEL_ELASTICSEARCH_URL
|
||||
## value: test
|
||||
##
|
||||
extraEnvVars: []
|
||||
## @param adminBackend.extraEnvVarsCM Array to add extra configmaps
|
||||
## @param backend.extraEnvVarsCM Array to add extra configmaps
|
||||
##
|
||||
extraEnvVarsCM: []
|
||||
## @param adminBackend.extraEnvVarsSecret Array to add extra environment variables from a secret
|
||||
## @param backend.extraEnvVarsSecret Array to add extra environment variables from a secret
|
||||
##
|
||||
extraEnvVarsSecret: ""
|
||||
## @param adminBackend.extraVolumeMounts Additional volume mounts (used along with `extraVolumes`)
|
||||
## @param backend.extraVolumeMounts Additional volume mounts (used along with `extraVolumes`)
|
||||
## Example: Mount CA file
|
||||
## extraVolumeMounts
|
||||
## - name: ca-cert
|
||||
|
|
@ -494,7 +500,7 @@ persistence:
|
|||
## @param persistence.enabled Whether to enable persistence based on Persistent Volume Claims
|
||||
##
|
||||
enabled: false
|
||||
## @param persistence.storageClass adminPanel & sidekiq data Persistent Volume Storage Class
|
||||
## @param persistence.storageClass dashboard & sidekiq data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
|
|
@ -622,7 +628,7 @@ ingress:
|
|||
certManager: false
|
||||
## @param ingress.hostname Default host for the ingress resource
|
||||
##
|
||||
hostname: adminpanel.local
|
||||
hostname: dashboard.local
|
||||
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
|
||||
##
|
||||
apiVersion: ""
|
||||
|
|
@ -647,15 +653,15 @@ ingress:
|
|||
## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
|
||||
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
|
||||
## extraHosts:
|
||||
## - name: adminpanel.local
|
||||
## - name: dashboard.local
|
||||
## path: /
|
||||
extraHosts: []
|
||||
## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
||||
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
|
||||
## extraTls:
|
||||
## - hosts:
|
||||
## - adminpanel.local
|
||||
## secretName: adminpanel.local-tls
|
||||
## - dashboard.local
|
||||
## secretName: dashboard.local-tls
|
||||
extraTls: []
|
||||
## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
|
||||
## key and certificate should start with -----BEGIN CERTIFICATE----- or
|
||||
|
|
@ -667,7 +673,7 @@ ingress:
|
|||
## It is also possible to create and manage the certificates outside of this helm chart
|
||||
## Please see README.md for more information
|
||||
## Example:
|
||||
## - name: adminpanel.local-tls
|
||||
## - name: dashboard.local-tls
|
||||
## key:
|
||||
## certificate:
|
||||
secrets: []
|
||||
|
|
|
|||
Reference in a new issue