devportal

by veecode-platform

Helm chartv1.1.3App 3.1.2Apache-2.0Verified publisher

A Helm chart for deploying VeeCode DevPortal, a VeeCode distribution of Backstage.

About this chart

VeeCode DevPortal Helm Chart

A Helm chart for deploying VeeCode DevPortal, a VeeCode distribution of Backstage.

Homepage: https://docs.platform.vee.codes

This chart installs VeeCode DevPortal, a fork of Red Hat Developer Hub. It is published as devportal in the next-charts Helm repository.

Maintainers

NameEmailUrl
VeeCodehttps://veecode.com

Source Code

TL;DR

helm repo add veecode https://veecode-platform.github.io/next-charts
helm install devportal veecode/devportal --version 1.1.3 -n devportal --create-namespace -f values.yaml

The DevPortal 3.x install guide explains the runtime Secret and the values.yaml the install needs.

Introduction

This chart bootstraps a Backstage deployment on a Kubernetes cluster using the Helm package manager.

See docs/product-face-overrides.md for how the VeeCode product face is enabled by the plugin catalog index (global.catalogIndex.image) and how to customize or disable individual face plugins without dropping the rest.

Prerequisites

  • Kubernetes 1.27+
  • Helm 3.10+ or latest release
  • A PostgreSQL database. The chart ships no embedded database; it reads the connection from the veecode-runtime-secrets Secret.

BACKEND_SECRET

BACKEND_SECRET is the static secret the portal's app config uses for service-to-service authentication (backend.auth.externalAccess). Store it under the BACKEND_SECRET key of the same veecode-runtime-secrets Secret that holds the database keys; the chart injects that Secret into the portal container. Generate a value with openssl rand -hex 16.

The chart does not generate this key: global.auth.backend.enabled is false, so no <release>-auth Secret is created. Without the key, the backend plugins fail at startup.

Usage

Set upstream.backstage.hostAliases to add static host entries to the portal pod's /etc/hosts. The chart passes this Backstage value through directly.

List the published versions and install the newest one:

helm repo add veecode https://veecode-platform.github.io/next-charts
helm repo update
helm search repo veecode/devportal --versions
helm upgrade -i <release_name> veecode/devportal --version <version> -f values.yaml

Each chart version pins the portal image by digest, and appVersion names that image.

Testing a Release

Once an Helm Release has been deployed, you can test it using the helm test command:

helm test <release_name>

This will run a simple Pod in the cluster to check that the application deployed is up and running.

This chart ships the test pod off (test.enabled: false): its default image is quay.io/curl/curl:latest, which is not pinned. To run it, set test.enabled: true and pin test.image.tag. See the test.enabled and test.image parameters in the values.yaml file.

Tip: Disabling the test pod will not prevent the helm test command from passing later on. It will simply report that no test suite is available.

Below are a few examples:

helm install <release_name> <repo_or_oci_registry> \
  --set test.enabled=true \
  --set test.image.tag=<pinned_curl_version>
helm install <release_name> <repo_or_oci_registry> \
  --set test.image.repository=curl/curl-base \
  --set test.image.tag=8.11.1

Uninstalling the Chart

To uninstall/delete the my-backstage-release deployment:

helm uninstall my-backstage-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Requirements

Kubernetes: >= 1.27.0-0

RepositoryNameVersion
file://./vendor/backstage/charts/backstage/upstream(backstage)2.8.0
https://charts.bitnami.com/bitnamicommon2.40.0

Values

KeyDescriptionTypeDefault
global.authEnable service authentication within Backstage instanceobject{"backend":{"enabled":false,"existingSecret":"","value":""}}
global.auth.backendBackend service to service authentication Ref: https://backstage.io/docs/auth/service-to-service-auth/object{"enabled":false,"existingSecret":"","value":""}
global.auth.backend.enabledEnable backend service to service authentication, unless configured otherwise it generates a secret valueboolfalse
global.auth.backend.existingSecretInstead of generating a secret value, refer to existing secretstring""
global.auth.backend.valueInstead of generating a secret value, use the following valuestring""
global.catalogIndexCatalog index configuration for automatic plugin discovery. The install-dynamic-plugins.py script pulls this image if the CATALOG_INDEX_IMAGE environment variable is set. The dynamic-plugins.default.yaml file will be extracted and written to dynamic-plugins-root volume mount.object{"extraImages":[],"image":{"registry":"quay.io","repository":"veecode/plugin-catalog-index@sha256","tag":"6b30147c2146dda4bc8f607c04cc37135c02e41cc297a3bfcb4af78ef702aefa"}}
global.catalogIndex.extraImagesExtra catalog index images for additional plugin discovery in the Extensions UI. Each item must include registry, repository, and tag fields; name is optional. Only catalog entities are extracted from extra images (no dynamic-plugins.default.yaml handling).list[]
global.clusterRouterBaseShorthand for users who do not want to specify a custom HOSTNAME. Used ONLY with the DEFAULT upstream.backstage.appConfig value and with OCP Route enabled.string"apps.example.com"
global.dynamic.includesreuse-values from 1.0.x) is skipped with a warning; the schema does not reject it.list["dynamic-plugins.default.yaml"]
global.dynamic.pluginslist[]
global.hostCustom hostname shorthand, overrides global.clusterRouterBase, upstream.ingress.host, route.host, and url values in upstream.backstage.appConfig.string""
global.lightspeedBuilt-in Lightspeed feature configuration.objectUse Lightspeed compatible settings / configurations.
global.lightspeed.configMaps[0].createWhether to create this ConfigMap from the bundled source file. Set to false and provide nameOverride to use a pre-existing ConfigMap.booltrue
global.lightspeed.configMaps[0].nameOverrideName of an existing ConfigMap to use instead. Required when create is false.string""
global.lightspeed.configMaps[0].sourceFileBundled file used to populate the ConfigMap data when create is true.string"lightspeed-stack.yaml"
global.lightspeed.configMaps[1].createWhether to create this ConfigMap from the bundled source file. Set to false and provide nameOverride to use a pre-existing ConfigMap.booltrue
global.lightspeed.configMaps[1].nameOverrideName of an existing ConfigMap to use instead. Required when create is false.string""
global.lightspeed.configMaps[1].sourceFileBundled file used to populate the ConfigMap data when create is true.string"config.yaml"
global.lightspeed.configMaps[2].createWhether to create this ConfigMap from the bundled source file. Set to false and provide nameOverride to use a pre-existing ConfigMap.booltrue
global.lightspeed.configMaps[2].nameOverrideName of an existing ConfigMap to use instead. Required when create is false.string""
global.lightspeed.configMaps[2].sourceFileBundled file used to populate the ConfigMap data when create is true.string"rhdh-profile.py"
global.lightspeed.enabledEnable or disable the built-in Lightspeed feature. FIXME: temporarily disabled due to DPDY issues; to re-enable in RHIDP-15458boolfalse
global.lightspeed.initContainer.imageFull image reference for the Lightspeed RAG bootstrap init container. Override for disconnected environments.string"quay.io/redhat-ai-dev/rag-content:release-1.10-lls-0.5.0-8c231a3b5177f12fff9db042dfa4091d8f2f26b3"
global.lightspeed.initContainer.resourcesResource requests/limits for the Lightspeed RAG bootstrap init container.object{"limits":{"cpu":"100m","memory":"500Mi"},"requests":{"cpu":"50m","memory":"150Mi"}}
global.lightspeed.pluginsLightspeed plugins and their configuration. Override package references for disconnected environments.list[{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed:{{ \"{{inherit}}\" }}"},{"enabled":true,"package":"oci://registry.access.redhat.com/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:{{ \"{{inherit}}\" }}"}]
global.lightspeed.ragVolume.emptyDiremptyDir configuration for the RAG data volume.object{}
global.lightspeed.ragVolume.initMountPathMount path inside the init container for seeding RAG data.string"/rag-content"
global.lightspeed.ragVolume.mountPathMount path inside the sidecar container for serving RAG data.string"/rag-content"
global.lightspeed.ragVolume.nameName of the Kubernetes volume used for Lightspeed RAG data.string"lightspeed-rag"
global.lightspeed.runtimeVolume.emptyDiremptyDir configuration for the Lightspeed runtime data volume when runtimeVolume.type=emptyDir.object{}
global.lightspeed.runtimeVolume.mountPathMount path inside the container for Lightspeed runtime storage.string"/tmp"
global.lightspeed.runtimeVolume.nameName of the Kubernetes volume used for writable Lightspeed runtime storage.string"lightspeed-data"
global.lightspeed.runtimeVolume.persistentVolumeClaimExisting PVC reference for the Lightspeed runtime data volume when runtimeVolume.type=persistentVolumeClaim.object{}
global.lightspeed.runtimeVolume.typeVolume source used for writable Lightspeed runtime storage mounted at /tmp. Supported values: emptyDir, persistentVolumeClaim.string"emptyDir"
global.lightspeed.secret.createWhether to create a Lightspeed Secret from the bundled source file.booltrue
global.lightspeed.secret.nameName of an existing Secret to use instead. Required when create is false.string""
global.lightspeed.secret.optionalWhether the Secret reference is optional in the pod spec.boolfalse
global.lightspeed.secret.sourceFileBundled file used to populate the Secret's stringData keys.string"secret.yaml"
global.lightspeed.sidecar.imageFull image reference for the Lightspeed Core sidecar. Override for disconnected environments.string"quay.io/lightspeed-core/lightspeed-stack:0.5.3"
global.lightspeed.sidecar.resourcesResource requests/limits for the Lightspeed Core sidecar.object{"limits":{"cpu":"1000m","memory":"2Gi"},"requests":{"cpu":"100m","memory":"512Mi"}}
global.veecode.brandingconfig chain (see extraAppConfig veecode-product), so these win.object{"fullLogo":"","fullLogoWidth":180,"iconLogo":"","title":"VeeCode DevPortal"}
global.veecode.deployment.caBundleExisting ConfigMap or Secret with the additional CA bundle. An empty name disables the volume, mount, and environment variable.object{"key":"ca.crt","kind":"ConfigMap","name":""}
global.veecode.deployment.caBundle.keyData key that contains the CA bundle.string"ca.crt"
global.veecode.deployment.caBundle.kindKubernetes resource kind that contains the bundle.string"ConfigMap"
global.veecode.deployment.caBundle.nameName of the ConfigMap or Secret. Empty disables this setting.string""
global.veecode.deployment.progressDeadlineSecondsPositive Deployment rollout deadline in seconds. Zero leaves the field absent and keeps the Kubernetes default of 600 seconds.int0
global.veecode.guestAuth.enabledSign visitors in as the guest, mapped to user:default/admin. Evaluation only.boolfalse
global.veecode.preInstallCommandstring"node regenerate-extensions-install.js --config app-config.yaml --config app-config.example.yaml --config app-config.example.production.yaml --config app-config-from-configmap.yaml && node merge-dynamic-plugins.js"
global.veecode.support.docsUrlstring"https://github.com/veecode-platform/support/discussions"
global.veecode.support.subtitlestring"VeeCode DevPortal support"
global.veecode.support.urlstring"https://github.com/veecode-platform/support/discussions"
kubernetesPlugin.rbac.enabledGrant the chart's service account read-only access used by the Kubernetes plugin.booltrue
kubernetesPlugin.rbac.namespaceQualifiedNameInclude the release namespace in both cluster-scoped RBAC names. Enable when releases with the same name share a cluster across namespaces.boolfalse
kubernetesPlugin.rbac.serviceAccountNameOptional override; empty follows the upstream chart's generated service account name.string""
nameOverridestring`"

Deploy devportal with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has devportal 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 chartdevportal is pinned at v1.1.3 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