cd-pipeline-operator
by sergk
Helm chartv2.35.0-SNAPSHOT.7App 2.35.0-SNAPSHOT.7Apache-2.0Verified publisher
A Helm chart for KubeRocketCI CD Pipeline Operator
About this chart
cd-pipeline-operator
A Helm chart for KubeRocketCI CD Pipeline 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 | string | nil | |
| annotations | object | {} | |
| capsuleTenant | object | {"create":true,"spec":null} | Required tenancyEngine: capsule. Specify Capsule Tenant specification for Environments. |
| enableWebhooks | bool | true | Enable webhook resources. Requires cert-manager to be installed in the cluster. |
| global.adminGroupName | string | "" | specify the admin OIDC group name. If empty, default {{ .Release.Namespace }}-oidc-admins. |
| global.developerGroupName | string | "" | specify the developer OIDC group name. If empty, default {{ .Release.Namespace }}-oidc-developers. |
| global.platform | string | "kubernetes" | platform type that can be "kubernetes" or "openshift" |
| image.repository | string | "epamedp/cd-pipeline-operator" | KubeRocketCI cd-pipeline-operator Docker image name. The released image can be found on Dockerhub |
| image.tag | string | nil | KubeRocketCI cd-pipeline-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 |
| manageNamespace | bool | true | should the operator manage(create/delete) namespaces for stages Refer to the guide for managing namespace (https://docs.kuberocketci.io/docs/operator-guide/auth/namespace-management) When false, the administrator creates each target namespace and labels it app.edp.epam.com/tenant={{ .Release.Namespace }}. Upgrade note: with manageNamespace=false, pre-created target namespaces must carry the label app.edp.epam.com/tenant={{ .Release.Namespace }}. Stages on unlabeled namespaces stop reconciling after upgrade (nothing is deleted). Audit existing foreign namespaces: earlier tenant-admin RoleBindings are not cleaned up. |
| name | string | "cd-pipeline-operator" | component name |
| nodeSelector | object | {} | |
| podSecurityContext | object | {"runAsNonRoot":true} | Pod Security Context Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| resources.limits.memory | string | "192Mi" | |
| resources.requests.cpu | string | "50m" | |
| resources.requests.memory | string | "64Mi" | |
| secretManager | string | "none" | Flag indicating whether the operator should manage secrets for stages. This parameter controls the provisioning of the 'regcred' secret within deployed environments, facilitating access to private container registries. Set the parameter to "none" under the following conditions: - If 'global.dockerRegistry.type=ecr' and IRSA is enabled, or - If 'global.dockerRegistry.type=openshift'. For private registries, choose the most appropriate method to provide credentials to deployed environments. Refer to the guide for managing container registries (https://docs.kuberocketci.io/docs/user-guide/manage-container-registries). Possible values: own/eso/none. - own: Copies the secret once from the parent namespace, without subsequent reconciliation. If updated in the parent namespace, manual updating in all created namespaces is required. - eso: The secret will be managed by the External Secrets Operator (requires installation and configuration in the cluster: https://docs.kuberocketci.io/docs/operator-guide/secrets-management/install-external-secrets-operator). Supports ESO serving the external-secrets.io/v1 API (ESO 0.16+) or the v1beta1 API (ESO 0.16 and older); ESO 0.16 serves both and v1 is used. Stage namespaces can read only the regcred Secret from the operator namespace. - none: Disables secrets management logic. |
| securityContext | object | {"allowPrivilegeEscalation":false} | Container Security Context Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
| serviceAccount.annotations | object | {} | |
| tenancyEngine | string | "none" | defines the type of the tenant engine that can be "none" or "capsule"; for Stages with external cluster tenancyEngine will be ignored |
| tenantScopePolicy.enabled | bool | true | Restrict the operator to namespaces labelled app.edp.epam.com/tenant={{ .Release.Namespace }} when tenancyEngine is none, for any manageNamespace value. Installs a ValidatingAdmissionPolicy that denies namespace deletion and creation of RoleBindings, Secrets, ServiceAccounts and External Secrets resources in other namespaces. Ignored when tenancyEngine is capsule, which enforces the same boundary through the Tenant. Requires Kubernetes 1.30 or later. |
| tolerations | list | [] |
Deploy cd-pipeline-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cd-pipeline-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 chartcd-pipeline-operator is pinned at v2.35.0-SNAPSHOT.7 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