fdsc-dashboard

by FIWARE Foundation

Helm chartv0.7.0App 0.6.6

A Helm chart for running the fdsc-dashboard on kubernetes.

About this chart

fdsc-dashboard

A Helm chart for running the fdsc-dashboard on kubernetes.

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

Kubernetes: >= 1.19-0

RepositoryNameVersion
https://fiware.github.io/helm-chartscommon0.1.2

Values

KeyTypeDefaultDescription
additionalEnvVarslist[]a list of additional env vars to be set on the dashboard container, in native env-var form. Useful for custom-built images that consume additional configuration at runtime.
apiUrlsobject{"authToken":"","ccs":"","odrl":"","til":"","tir":""}urls of the backend services to be used
apiUrls.authTokenstring""build-time URL for obtaining an auth token (VITE_AUTH_TOKEN_URL). Stock image ignores this key at runtime.
apiUrls.ccsstring""URL of the Credentials Config Service (VITE_CCS_URL)
apiUrls.odrlstring""URL of the ODRL PAP (VITE_ODRL_URL)
apiUrls.tilstring""URL of the Trusted Issuer List
apiUrls.tirstring""URL of the Trusted Issuer Registry (VITE_TIR_URL)
apisixobject{"adminKey":null,"dashboardUrl":"http://apisix-admin:9180/ui","enabled":false}configuration of apisix to be included into the dashboard
apisix.adminKeystringniltoken to be used for accessing the apisix apis(X-API-KEY)
apisix.dashboardUrlstring"http://apisix-admin:9180/ui"url of the apisix dashboard ui
apisix.enabledboolfalseshould apisix inclusion be enabled
auth.configobject{"providers":[]}raw OIDC providers configuration, rendered as JSON into the chart's Secret when existingSecret is empty. Default: auth disabled (no providers). See upstream docs for the full schema.
auth.existingSecretstring""name of a pre-existing Secret containing the AUTH_CONFIG_JSON key. When set, the chart will not render its own Secret and the Deployment will reference this Secret instead.
auth.secretKeystring"AUTH_CONFIG_JSON"key inside the Secret (chart-rendered or existingSecret) to mount into the AUTH_CONFIG_JSON env var
autoscaling.apiVersionstring"v2"apiVersion of the HorizontalPodAutoscaler resource emitted by the fiwareCommon.hpa.tpl helper. Users on Kubernetes 1.26+ may wish to override this to "v2".
autoscaling.enabledboolfalseshould autoscaling be enabled for the fdsc-dashboard
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
deployment.additionalAnnotationsobject{}additional annotations for the deployment, if required
deployment.additionalLabelsobject{}additional labels for the deployment, if required
deployment.additionalVolumeMountslist[]additional volume mounts for the fdsc-dashboard container, if required
deployment.additionalVolumeslist[]additional volumes for the fdsc-dashboard pod, if required
deployment.affinityobject{}affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
deployment.argslist[]override the default args of the container image
deployment.commandlist[]override the default command of the container image
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"quay.io/seamware/fdsc-dashboard"fdsc-dashboard image name ref: https://quay.io/repository/seamware/fdsc-dashboard
deployment.imagePullSecretslist[]secrets for pulling the fdsc-dashboard image from a private registry
deployment.livenessProbe.failureThresholdint3
deployment.livenessProbe.initialDelaySecondsint30
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
deployment.priorityClassNamestring""priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
deployment.readinessProbe.failureThresholdint3
deployment.readinessProbe.initialDelaySecondsint31
deployment.readinessProbe.periodSecondsint10
deployment.readinessProbe.successThresholdint1
deployment.readinessProbe.timeoutSecondsint30
deployment.replicaCountint1initial number of target replicas, can be different if autoscaling is enabled
deployment.revisionHistoryLimitint3number of old replicas to be retained
deployment.tolerationslist[]tolerations template ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
deployment.topologySpreadConstraintslist[]topology spread constraints template ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
deployment.updateStrategy.rollingUpdateobject{"maxSurge":1,"maxUnavailable":0}new pods will be added gradually
deployment.updateStrategy.rollingUpdate.maxSurgeint1number of pods that can be created above the desired amount while updating
deployment.updateStrategy.rollingUpdate.maxUnavailableint0number of pods that can be unavailable while updating
deployment.updateStrategy.typestring"RollingUpdate"type of the update
fullnameOverridestring""option to override the fullname config in the _helpers.tpl
grafanaobject{"enabled":false,"panelsJson":"[{\"title\":\"Example Panel\",\"path\":\"/d/apisix-routes/apisix-routes?orgId=1&from=now-1h&to=now&timezone=browser&var-datasource=PBFA97CFB590B2093&var-route=$__all&var-service=$__all&refresh=30s\",\"span\":12}]\n","url":"http://grafana:80"}configuration of grafana dashboard(s) to be included in the dashboard
grafana.enabledboolfalseshould grafana inclusion be enabled
grafana.panelsJsonstring"[{\"title\":\"Example Panel\",\"path\":\"/d/apisix-routes/apisix-routes?orgId=1&from=now-1h&to=now&timezone=browser&var-datasource=PBFA97CFB590B2093&var-route=$__all&var-service=$__all&refresh=30s\",\"span\":12}]\n"configuration of the panels to be included
grafana.urlstring"http://grafana:80"url of grafana to be embedded
ingress.annotationsobject{}annotations to be added to the ingress
ingress.enabledboolfalseshould there be an ingress to connect the fdsc-dashboard with the public internet
ingress.hostslist[]all hosts to be provided
ingress.tlslist[]configure the ingress' tls
keycloakobject{"url":null}configuration of the keycloak address to be used for integration with keycloaks status list endpoint
keycloak.urlstringnilurl of keycloak to be used. It should be the same keycloak as used for authentication, realm will be extracted from the authentication info
nameOverridestring""option to override the name config in the _helpers.tpl
portint3000container port that the fdsc-dashboard (nginx) listens on
route.annotationsobject{}annotations to be added to the route
route.enabledboolfalseshould the deployment create openshift routes
route.tlsobject{}tls configuration for the route
service.annotationsobject{}additional annotations, if required
service.portint8080port to be used by the service; targets the container port (.Values.port).
service.typestring"ClusterIP"service type
serviceAccountobject{"create":false}if a fdsc-dashboard specific service account should be used, it can be configured here ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
serviceAccount.createboolfalsespecifies if the account should be created
tracingobject{"enabled":false,"tempoDatasourceId":null}configuration to enable the tracing dashboard. Requires grafana to be enabled.
tracing.enabledboolfalseshould tracing inclusion be enabled
tracing.tempoDatasourceIdstringniluid of the tempo datasource to be used

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy fdsc-dashboard with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has fdsc-dashboard on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartfdsc-dashboard is pinned at v0.7.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply