devportal

by veecode-platform

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.

ParameterDescriptionDefault
replicasnumber of devportal pod replicas to create1
image.repositorydevportal image repository"veecode/devportal-bundle"
image.tagdevportal image tag"latest"
image.pullPolicykubernetes pull policy"IfNotPresent"
imagePullSecretsimage pull secretsnull
environmentapplication environment"development"
extraEnvenvironment variables[]
serviceAccount.annotationsnull
serviceAccount.name""
hostAliases[]
service.enabledif true, an service is createdtrue
service.typeservice type, could be ‘ClusterIP’, ‘LoadBalancer’ or ‘NodePort’"ClusterIP"
service.containerPortport to serve on the internal service7007
serviceMonitor.enabledtrue to enablefalse
serviceMonitor.interval"30s"
serviceMonitor.scrapeTimeout"10s"
serviceMonitor.selectors.release"prometheus"
ingress.enabledIf true, an ingress is createdfalse
ingress.hostyour host to devportal ingressnull
ingress.classNameingress class name"nginx"
ingress.pathIngress path"/"
ingress.pathTypeIngress pathType"Prefix"
ingress.annotationsingress annotationsnull
ingress.tls.secretNametls secret name"devportal-secret"
resources.requests.memoryrequest memory"256Mi"
resources.requests.cpurequest cpu"250m"
resources.limits.memorylimit memory"512Mi"
resources.limits.cpulimit cpu"500m"
readinessProbe.httpGet.path"/.backstage/health/v1/readiness"
readinessProbe.httpGet.port7007
readinessProbe.initialDelaySecondssuggestion 30null
readinessProbe.periodSecondssuggestion 10null
livenessProbe.httpGet.path"/.backstage/health/v1/liveness"
livenessProbe.httpGet.port7007
livenessProbe.initialDelaySecondssuggestion 30null
livenessProbe.periodSecondssuggestion 10null
appConfig.titledevportal title"Devportal Platform"
appConfig.app.baseUrldevportal base URL"http://localhost:3000"
appConfig.backend.baseUrldevportal backend base URL"http://localhost:7007"
appConfig.backend.csp.connectSrcCSP 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.clientdatabase client (better-sqlite3 or pg)"better-sqlite3"
appConfig.database.connection.directorysqlite directory instead of memory storagenull
appConfig.database.connection.hostdatabase host"postgres"
appConfig.database.connection.portdatabase port number5432
appConfig.database.connection.databasedatabase name"database_name"
appConfig.database.connection.userdatabase username"user"
appConfig.database.connection.passworddatabase password"password"
appConfig.database.connection.ssl.rejectUnauthorizedreject unauthorized SSL connections default FALSEtrue
appConfig.database.connection.ssl.caSecretNamesecret name with a certificate content"secretName"
appConfig.database.connection.ssl.caFilePathpath to mount the CA file"ca/secret.crt"
locations[{"type": null, "target": null, "rules": [{"allow": []}]}]
search.pg.highlightOptions.useHighlightUsed to enable to disable the highlight feature. The default value is truetrue
search.pg.highlightOptions.maxWordUsed to set the longest headlines to output. The default value is 35.35
search.pg.highlightOptions.minWordUsed to set the shortest headlines to output. The default value is 15.15
search.pg.highlightOptions.shortWordWords 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.highlightAllIf true the whole document will be used as the headline, ignoring the preceding three parameters. The default is false.false
search.pg.highlightOptions.maxFragmentsMaximum 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.minutes3
search.pg.schedule.timeout.minutes5
grafana.enabledenable grafana pluginfalse
grafana.domaingrafana domainnull
grafana.tokengrafana tokennull
argocd.enabledenable ArgoCD pluginfalse
vault.enabledenable Vault pluginfalse
vault.publicUrlvault public urlnull
vault.tokenvault tokennull
vault.secretEnginevault secret engine"secrets"
vault.kvVersionvault kv version (12)
kong.enabledenable Kong integrationfalse
kong.instances[{"name": null, "apiManager": null, "workspace": "default", "authorization": {"adminToken": null, "custom": {"header": null, "value": null}}}]
azureDevOps.enabledenable Azure DevOps pluginfalse
azureDevOps.hostazure host"dev.azure.com"
azureDevOps.tokenazure tokennull
azureDevOps.organizationazure organizationnull
infracost.enabledfalse
infracost.schedule.frequencytime in minutes to refresh the catalog5
infracost.schedule.timeouttime in minutes to timeout after the refresh request3
infracost.schedule.initialDelaytime in minutes to wait before the first refresh request15
vee.enabledfalse
sonarqube.enabledenable SonarQube pluginfalse
proxy.gitlab.allowedHeaders["Authorization", "Content-Type"]
proxy.gitlab.headers.Accept"application/json"
proxy.gitlab.headers.Content-Type"application/json"
auth.providers.keycloak.metadataUrlkeycloak .well-known urlnull
auth.providers.keycloak.clientIdkeycloak client idnull
auth.providers.keycloak.clientSecretkeycloak client secretnull
auth.providers.keycloak.promptenable keycloak prompt"auto"
auth.providers.github.clientIdgithub Oauth application client idnull
auth.providers.github.clientSecretgithub Oauth application client secretnull
auth.providers.gitlab.clientIdGitlab Client IDnull
auth.providers.gitlab.clientSecretGitlab Client Secretnull
auth.providers.gitlab.audienceGitlab Audience"https://gitlab.com"
auth.providers.gitlab.callbackUrlThe URL matching the Redirect URI registered when creating your GitLab OAuth Appnull
integrations.azure[{"host": "dev.azure.com", "credentials": [{"organizations": [], "clientId": null, "clientSecret": null, "tenantId": null, "personalAccessToken": null}]}]
integrations.github.hostgithub Server Host"github.com"
integrations.github.apiBaseUrl"https://api.github.com"
integrations.github.tokengithub Tokennull
integrations.github.apps.secretNameGithub App Secret Namenull
integrations.github.apps.appIdGithub App Idnull
integrations.github.apps.allowedInstallationOwnersoptional: allowed installation ownersnull
integrations.github.apps.clientIdGithub App Client Idnull
integrations.github.apps.clientSecretGithub App Client Secretnull
integrations.github.apps.webhookSecretGithub App Webhook Secretnull
integrations.github.apps.privateKeyGithub App Private Keynull
integrations.bitbucketCloud.usernameBitbucket Cloud Usernamenull
integrations.bitbucketCloud.appPasswordBitbucket Cloud Passwordnull
integrations.bitbucketServer.hostBitbucket Cloud Host ex. bitbucket.company.comnull
integrations.bitbucketServer.apiBaseUrlBitbucket Cloud Api Basenull
integrations.bitbucketServer.tokenBitbucket Cloud Tokennull
integrations.gitlab.hostGitlab Host"gitlab.com"
integrations.gitlab.apiBaseUrlapi base URL: https://gitlab.domain.com/api/v4null
integrations.gitlab.tokenGitlab Server Tokennull
integrations.gitlab.callbackUrlThe URL matching the Redirect URI registered when creating your GitLab OAuth Appnull
permission.enabledtrue
permission.rbac.enabledtrue
permission.rbac.pluginsWithPermission["catalog", "scaffolder", "permission", "kubernetes", "kong", "vee", "veecode-platform-permissions-hub"]
permission.rbac.admin.defaultAdminRoleEnabledtrue
permission.rbac.admin.superUsers[{"name": "user:default/admin"}]
permission.rbac.admin.users[{"name": "user:default/<user-name>"}]
permission.rbac.maxDepth1
scaffolder.defaultAuthor.nameScaffolder Author Name"Scaffolder"
scaffolder.defaultAuthor.emailScaffolder Author Email"[email protected]"
scaffolder.defaultCommitMessageScaffolder Default Commit Message"initial project commit"
catalog.orphanStrategyOrphan strategy(deletekeep)
catalog.rulesCatalog rules[{"allow": ["Component", "API", "Location", "Cluster", "Template", "Environment", "Database", "Vault", "Infracost", "Group", "User"]}]
catalog.providers.github.urlgithub url"https://github.com"
catalog.providers.github.organizationgithub Organization Name"veecode-homolog"
catalog.providers.github.catalogPathpath catalog info"/catalog-info.yaml"
catalog.providers.github.validateLocationsExistcheck if existstrue
catalog.providers.github.filters.branchbranch to filter"main"
catalog.providers.github.filters.repositoryRegex repository namenull
catalog.providers.github.schedule.frequencytime in minutes to refresh the catalog5
catalog.providers.github.schedule.timeouttime in minutes to timeout after the refresh request3
catalog.providers.bitbucketCloud.workspaceBitbucket workspacenull
catalog.providers.bitbucketCloud.catalogPathPath catalog info"/catalog-info.yaml"
catalog.providers.bitbucketCloud.filters.projectKeyoptional Bitbucket project keynull
catalog.providers.bitbucketCloud.filters.repoSlugoptional Bitbucket repo slugnull
catalog.providers.bitbucketCloud.schedule.frequencytime in minutes to refresh the catalog5
catalog.providers.bitbucketCloud.schedule.timeouttime in minutes to timeout after the refresh request3
catalog.providers.bitbucketServer.hostnull
catalog.providers.bitbucketServer.catalogPathPath catalog infonull
catalog.providers.bitbucketServer.filters.projectKeyBitbucket project keynull
catalog.providers.bitbucketServer.filters.repoSlugBitbucket repo slugnull
catalog.providers.bitbucketServer.schedule.frequencytime in minutes to refresh the catalog5
catalog.providers.bitbucketServer.schedule.timeouttime in minutes to timeout after the refresh request3
catalog.providers.gitlab.hostIdentifies one of the hosts set up in the integrations"gitlab.com"
catalog.providers.gitlab.orgEnabledEnable organizationfalse
catalog.providers.gitlab.branchOptional. Uses master as default"main"
catalog.providers.gitlab.groupOptional. Group and subgroup (if needed) to look for repositories. If not present the whole project will be scanned.null
catalog.providers.gitlab.entityFilenameCatalog file path"catalog-info.yaml"
catalog.providers.gitlab.projectPatternOptional. Filters found projects based on provided patter."/[\\s\\S]*/"
catalog.providers.gitlab.schedule.frequencytime in minutes to refresh the catalog5
catalog.providers.gitlab.schedule.timeouttime in minutes to timeout after the refresh request3
catalog.providers.keycloak.baseUrlkeycloak base urlnull
catalog.providers.keycloak.loginRealmrealm used to login"master"
catalog.providers.keycloak.realmrealm to be managed"platform-devportal"
catalog.providers.keycloak.usernameusername to user with permissions to get groups and usersnull
catalog.providers.keycloak.passwordpasswordnull
catalog.providers.keycloak.clientIdclient id"client id"
catalog.providers.keycloak.clientSecretclient secret"client secret"
catalog.providers.keycloak.schedule.frequencytime in minutes to refresh the catalog5
`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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdevportal is pinned at v0.20.17 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