devportal
Helm chartv0.20.17App 1.0.12Verified publisher
Platform devportal helm chart.
About this chart
Devportal
Adding Platform repository
helm repo add veecode-platform https://veecode-platform.github.io/public-charts/
helm repo update
Installing chart
helm install platform-devportal veecode-platform/devportal --values ./values.yaml
Removing chart
helm uninstall platform-devportal
Configuration
The following table lists the configurable parameters of the Devportal chart and their default values.
| Parameter | Description | Default |
|---|---|---|
replicas | number of devportal pod replicas to create | 1 |
image.repository | devportal image repository | "veecode/devportal-bundle" |
image.tag | devportal image tag | "latest" |
image.pullPolicy | kubernetes pull policy | "IfNotPresent" |
imagePullSecrets | image pull secrets | null |
environment | application environment | "development" |
extraEnv | environment variables | [] |
serviceAccount.annotations | null | |
serviceAccount.name | "" | |
hostAliases | [] | |
service.enabled | if true, an service is created | true |
service.type | service type, could be ‘ClusterIP’, ‘LoadBalancer’ or ‘NodePort’ | "ClusterIP" |
service.containerPort | port to serve on the internal service | 7007 |
serviceMonitor.enabled | true to enable | false |
serviceMonitor.interval | "30s" | |
serviceMonitor.scrapeTimeout | "10s" | |
serviceMonitor.selectors.release | "prometheus" | |
ingress.enabled | If true, an ingress is created | false |
ingress.host | your host to devportal ingress | null |
ingress.className | ingress class name | "nginx" |
ingress.path | Ingress path | "/" |
ingress.pathType | Ingress pathType | "Prefix" |
ingress.annotations | ingress annotations | null |
ingress.tls.secretName | tls secret name | "devportal-secret" |
resources.requests.memory | request memory | "256Mi" |
resources.requests.cpu | request cpu | "250m" |
resources.limits.memory | limit memory | "512Mi" |
resources.limits.cpu | limit cpu | "500m" |
readinessProbe.httpGet.path | "/.backstage/health/v1/readiness" | |
readinessProbe.httpGet.port | 7007 | |
readinessProbe.initialDelaySeconds | suggestion 30 | null |
readinessProbe.periodSeconds | suggestion 10 | null |
livenessProbe.httpGet.path | "/.backstage/health/v1/liveness" | |
livenessProbe.httpGet.port | 7007 | |
livenessProbe.initialDelaySeconds | suggestion 30 | null |
livenessProbe.periodSeconds | suggestion 10 | null |
appConfig.title | devportal title | "Devportal Platform" |
appConfig.app.baseUrl | devportal base URL | "http://localhost:3000" |
appConfig.backend.baseUrl | devportal backend base URL | "http://localhost:7007" |
appConfig.backend.csp.connectSrc | CSP connect-src | ["'self'", "http:", "https:"] |
appConfig.backend.csp.imgSrc | ["'self'", "data:", "https://raw.githubusercontent.com/", "https://avatars.githubusercontent.com/"] | |
appConfig.backend.csp.scriptSrc | ["'self'", "'unsafe-eval'", "https://www.google-analytics.com", "https://www.googletagmanager.com"] | |
appConfig.database.client | database client (better-sqlite3 or pg) | "better-sqlite3" |
appConfig.database.connection.directory | sqlite directory instead of memory storage | null |
appConfig.database.connection.host | database host | "postgres" |
appConfig.database.connection.port | database port number | 5432 |
appConfig.database.connection.database | database name | "database_name" |
appConfig.database.connection.user | database username | "user" |
appConfig.database.connection.password | database password | "password" |
appConfig.database.connection.ssl.rejectUnauthorized | reject unauthorized SSL connections default FALSE | true |
appConfig.database.connection.ssl.caSecretName | secret name with a certificate content | "secretName" |
appConfig.database.connection.ssl.caFilePath | path to mount the CA file | "ca/secret.crt" |
locations | [{"type": null, "target": null, "rules": [{"allow": []}]}] | |
search.pg.highlightOptions.useHighlight | Used to enable to disable the highlight feature. The default value is true | true |
search.pg.highlightOptions.maxWord | Used to set the longest headlines to output. The default value is 35. | 35 |
search.pg.highlightOptions.minWord | Used to set the shortest headlines to output. The default value is 15. | 15 |
search.pg.highlightOptions.shortWord | Words of this length or less will be dropped at the start and end of a headline, unless they are query terms. The default value of three (3) eliminates common English articles. | 3 |
search.pg.highlightOptions.highlightAll | If true the whole document will be used as the headline, ignoring the preceding three parameters. The default is false. | false |
search.pg.highlightOptions.maxFragments | Maximum number of text fragments to display. The default value of zero selects a non-fragment-based headline generation method. A value greater than zero selects fragment-based headline generation (see the linked documentation above for more details). | 0 |
search.pg.highlightOptions.fragmentDelimiter | " ... " | |
search.pg.schedule.frequency.minutes | 3 | |
search.pg.schedule.timeout.minutes | 5 | |
grafana.enabled | enable grafana plugin | false |
grafana.domain | grafana domain | null |
grafana.token | grafana token | null |
argocd.enabled | enable ArgoCD plugin | false |
vault.enabled | enable Vault plugin | false |
vault.publicUrl | vault public url | null |
vault.token | vault token | null |
vault.secretEngine | vault secret engine | "secrets" |
vault.kvVersion | vault kv version (1 | 2) |
kong.enabled | enable Kong integration | false |
kong.instances | [{"name": null, "apiManager": null, "workspace": "default", "authorization": {"adminToken": null, "custom": {"header": null, "value": null}}}] | |
azureDevOps.enabled | enable Azure DevOps plugin | false |
azureDevOps.host | azure host | "dev.azure.com" |
azureDevOps.token | azure token | null |
azureDevOps.organization | azure organization | null |
infracost.enabled | false | |
infracost.schedule.frequency | time in minutes to refresh the catalog | 5 |
infracost.schedule.timeout | time in minutes to timeout after the refresh request | 3 |
infracost.schedule.initialDelay | time in minutes to wait before the first refresh request | 15 |
vee.enabled | false | |
sonarqube.enabled | enable SonarQube plugin | false |
proxy.gitlab.allowedHeaders | ["Authorization", "Content-Type"] | |
proxy.gitlab.headers.Accept | "application/json" | |
proxy.gitlab.headers.Content-Type | "application/json" | |
auth.providers.keycloak.metadataUrl | keycloak .well-known url | null |
auth.providers.keycloak.clientId | keycloak client id | null |
auth.providers.keycloak.clientSecret | keycloak client secret | null |
auth.providers.keycloak.prompt | enable keycloak prompt | "auto" |
auth.providers.github.clientId | github Oauth application client id | null |
auth.providers.github.clientSecret | github Oauth application client secret | null |
auth.providers.gitlab.clientId | Gitlab Client ID | null |
auth.providers.gitlab.clientSecret | Gitlab Client Secret | null |
auth.providers.gitlab.audience | Gitlab Audience | "https://gitlab.com" |
auth.providers.gitlab.callbackUrl | The URL matching the Redirect URI registered when creating your GitLab OAuth App | null |
integrations.azure | [{"host": "dev.azure.com", "credentials": [{"organizations": [], "clientId": null, "clientSecret": null, "tenantId": null, "personalAccessToken": null}]}] | |
integrations.github.host | github Server Host | "github.com" |
integrations.github.apiBaseUrl | "https://api.github.com" | |
integrations.github.token | github Token | null |
integrations.github.apps.secretName | Github App Secret Name | null |
integrations.github.apps.appId | Github App Id | null |
integrations.github.apps.allowedInstallationOwners | optional: allowed installation owners | null |
integrations.github.apps.clientId | Github App Client Id | null |
integrations.github.apps.clientSecret | Github App Client Secret | null |
integrations.github.apps.webhookSecret | Github App Webhook Secret | null |
integrations.github.apps.privateKey | Github App Private Key | null |
integrations.bitbucketCloud.username | Bitbucket Cloud Username | null |
integrations.bitbucketCloud.appPassword | Bitbucket Cloud Password | null |
integrations.bitbucketServer.host | Bitbucket Cloud Host ex. bitbucket.company.com | null |
integrations.bitbucketServer.apiBaseUrl | Bitbucket Cloud Api Base | null |
integrations.bitbucketServer.token | Bitbucket Cloud Token | null |
integrations.gitlab.host | Gitlab Host | "gitlab.com" |
integrations.gitlab.apiBaseUrl | api base URL: https://gitlab.domain.com/api/v4 | null |
integrations.gitlab.token | Gitlab Server Token | null |
integrations.gitlab.callbackUrl | The URL matching the Redirect URI registered when creating your GitLab OAuth App | null |
permission.enabled | true | |
permission.rbac.enabled | true | |
permission.rbac.pluginsWithPermission | ["catalog", "scaffolder", "permission", "kubernetes", "kong", "vee", "veecode-platform-permissions-hub"] | |
permission.rbac.admin.defaultAdminRoleEnabled | true | |
permission.rbac.admin.superUsers | [{"name": "user:default/admin"}] | |
permission.rbac.admin.users | [{"name": "user:default/<user-name>"}] | |
permission.rbac.maxDepth | 1 | |
scaffolder.defaultAuthor.name | Scaffolder Author Name | "Scaffolder" |
scaffolder.defaultAuthor.email | Scaffolder Author Email | "[email protected]" |
scaffolder.defaultCommitMessage | Scaffolder Default Commit Message | "initial project commit" |
catalog.orphanStrategy | Orphan strategy(delete | keep) |
catalog.rules | Catalog rules | [{"allow": ["Component", "API", "Location", "Cluster", "Template", "Environment", "Database", "Vault", "Infracost", "Group", "User"]}] |
catalog.providers.github.url | github url | "https://github.com" |
catalog.providers.github.organization | github Organization Name | "veecode-homolog" |
catalog.providers.github.catalogPath | path catalog info | "/catalog-info.yaml" |
catalog.providers.github.validateLocationsExist | check if exists | true |
catalog.providers.github.filters.branch | branch to filter | "main" |
catalog.providers.github.filters.repository | Regex repository name | null |
catalog.providers.github.schedule.frequency | time in minutes to refresh the catalog | 5 |
catalog.providers.github.schedule.timeout | time in minutes to timeout after the refresh request | 3 |
catalog.providers.bitbucketCloud.workspace | Bitbucket workspace | null |
catalog.providers.bitbucketCloud.catalogPath | Path catalog info | "/catalog-info.yaml" |
catalog.providers.bitbucketCloud.filters.projectKey | optional Bitbucket project key | null |
catalog.providers.bitbucketCloud.filters.repoSlug | optional Bitbucket repo slug | null |
catalog.providers.bitbucketCloud.schedule.frequency | time in minutes to refresh the catalog | 5 |
catalog.providers.bitbucketCloud.schedule.timeout | time in minutes to timeout after the refresh request | 3 |
catalog.providers.bitbucketServer.host | null | |
catalog.providers.bitbucketServer.catalogPath | Path catalog info | null |
catalog.providers.bitbucketServer.filters.projectKey | Bitbucket project key | null |
catalog.providers.bitbucketServer.filters.repoSlug | Bitbucket repo slug | null |
catalog.providers.bitbucketServer.schedule.frequency | time in minutes to refresh the catalog | 5 |
catalog.providers.bitbucketServer.schedule.timeout | time in minutes to timeout after the refresh request | 3 |
catalog.providers.gitlab.host | Identifies one of the hosts set up in the integrations | "gitlab.com" |
catalog.providers.gitlab.orgEnabled | Enable organization | false |
catalog.providers.gitlab.branch | Optional. Uses master as default | "main" |
catalog.providers.gitlab.group | Optional. Group and subgroup (if needed) to look for repositories. If not present the whole project will be scanned. | null |
catalog.providers.gitlab.entityFilename | Catalog file path | "catalog-info.yaml" |
catalog.providers.gitlab.projectPattern | Optional. Filters found projects based on provided patter. | "/[\\s\\S]*/" |
catalog.providers.gitlab.schedule.frequency | time in minutes to refresh the catalog | 5 |
catalog.providers.gitlab.schedule.timeout | time in minutes to timeout after the refresh request | 3 |
catalog.providers.keycloak.baseUrl | keycloak base url | null |
catalog.providers.keycloak.loginRealm | realm used to login | "master" |
catalog.providers.keycloak.realm | realm to be managed | "platform-devportal" |
catalog.providers.keycloak.username | username to user with permissions to get groups and users | null |
catalog.providers.keycloak.password | password | null |
catalog.providers.keycloak.clientId | client id | "client id" |
catalog.providers.keycloak.clientSecret | client secret | "client secret" |
catalog.providers.keycloak.schedule.frequency | time in minutes to refresh the catalog | 5 |
| `catalog.providers.keycloa |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdevportal is pinned at v0.20.17 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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