codebase-operator
by sergk
Helm chartv2.38.0-SNAPSHOT.5App 2.38.0-SNAPSHOT.5Apache-2.0Verified publisher
A Helm chart for KubeRocketCI Codebase Operator
About this chart
codebase-operator
A Helm chart for KubeRocketCI Codebase Operator
Homepage: https://docs.kuberocketci.io/
Maintainers
| Name | Url | |
|---|---|---|
| epmd-edp | [email protected] | https://solutionshub.epam.com/solution/kuberocketci |
| sergk | https://github.com/SergK |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| annotations | object | {} | |
| branchStaleCheckInterval | string | "24h" | How often the operator verifies that codebase branches still exist in git, marking missing ones with the Stale condition and the app.edp.epam.com/stale label. Accepts Go duration strings (e.g. 24h, 30m); "0" disables the check. |
| caCerts.enabled | bool | false | Mount additional CA certificates from an existing secret, e.g. for integrations behind a self-signed or private CA. |
| caCerts.secret | string | "custom-ca-certificates" | Name of an existing secret with CA certificates. Each key must hold a PEM-encoded certificate (a key may also hold a bundle of concatenated certificates); key names are arbitrary. Example: kubectl create secret generic custom-ca-certificates --from-file=ca.crt=my-root-ca.pem |
| enableWebhooks | bool | true | Enable webhook and cert-manager certificate resources. Webhooks require cert-manager to be installed in the cluster. |
| envs[0].name | string | "RECONCILATION_PERIOD" | |
| envs[0].value | string | "360" | |
| envs[1] | object | {"name":"CODEBASE_BRANCH_MAX_CONCURRENT_RECONCILES","value":"3"} | Maximum number of parallel reconciliation codebasebranches |
| global.gatewayApi | object | {"gatewayName":"main-gateway","gatewayNamespace":"envoy-gateway-system"} | Gateway API parent Gateway that EventListener HTTPRoutes attach to (used when ingressController=envoy) |
| global.gatewayApi.gatewayName | string | "main-gateway" | Name of the parent Gateway resource |
| global.gatewayApi.gatewayNamespace | string | "envoy-gateway-system" | Namespace of the parent Gateway resource |
| global.platform | string | "kubernetes" | platform type that can be "kubernetes" or "openshift" |
| image.registry | string | "" | KubeRocketCI codebase-operator Docker image registry. |
| image.repository | string | "epamedp/codebase-operator" | KubeRocketCI codebase-operator Docker image name. The released image can be found on Dockerhub |
| image.tag | string | nil | KubeRocketCI codebase-operator Docker image tag. The released image can be found on Dockerhub |
| imagePullPolicy | string | "IfNotPresent" | |
| imagePullSecrets | list | [] | Optional array of imagePullSecrets containing private registry credentials # Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry |
| ingressController | string | "nginx" | Ingress controller for the GitServer EventListener webhook: "nginx" (Ingress) or "envoy" (Gateway API HTTPRoute) |
| jira.apiUrl | string | "https://jiraeu-api.example.com" | API URL for development |
| jira.credentialName | string | "ci-jira" | Name of secret with credentials to Jira server |
| jira.integration | bool | false | Flag to enable/disable Jira integration |
| jira.name | string | "jira" | JiraServer CR name |
| jira.quickLink | object | {"enabled":true} | Enable creation of QuickLink for Jira |
| jira.rootUrl | string | "https://jiraeu.example.com" | URL to Jira server |
| knownHosts.entries | string | "" (no self-hosted servers pinned) | Host keys for self-hosted git servers, in known_hosts format, one per line. Obtain them with ssh-keyscan -t rsa,ecdsa,ed25519 -p <port> <host> and verify the fingerprints out-of-band before trusting them. Servers on a port other than 22 must use the bracket form, e.g. [git.example.com]:2222 ssh-ed25519 AAAA.... |
| knownHosts.includeDefaultProviders | bool | true | Include the shipped host keys for github.com, gitlab.com, bitbucket.org and ssh.bitbucket.org. Disable only if you pin these hosts yourself through entries. |
| name | string | "codebase-operator" | component name |
| nodeSelector | object | {} | |
| podLabels | object | {} | Labels to be added to the pod |
| podSecurityContext | object | {"runAsNonRoot":true} | Pod Security Context Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| resources.limits.memory | string | "1Gi" | |
| resources.requests.cpu | string | "50m" | |
| resources.requests.memory | string | "256Mi" | |
| securityContext | object | {"allowPrivilegeEscalation":false} | Container Security Context Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| telemetryEnabled | bool | true | Flag to enable/disable telemetry |
| tolerations | list | [] |
Deploy codebase-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has codebase-operator 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 chartcodebase-operator is pinned at v2.38.0-SNAPSHOT.5 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