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

NameEmailUrl
epmd-edp[email protected]https://solutionshub.epam.com/solution/kuberocketci
sergkhttps://github.com/SergK

Source Code

Values

KeyTypeDefaultDescription
affinitystringnil
annotationsobject{}
capsuleTenantobject{"create":true,"spec":null}Required tenancyEngine: capsule. Specify Capsule Tenant specification for Environments.
enableWebhooksbooltrueEnable webhook resources. Requires cert-manager to be installed in the cluster.
global.adminGroupNamestring""specify the admin OIDC group name. If empty, default {{ .Release.Namespace }}-oidc-admins.
global.developerGroupNamestring""specify the developer OIDC group name. If empty, default {{ .Release.Namespace }}-oidc-developers.
global.platformstring"kubernetes"platform type that can be "kubernetes" or "openshift"
image.repositorystring"epamedp/cd-pipeline-operator"KubeRocketCI cd-pipeline-operator Docker image name. The released image can be found on Dockerhub
image.tagstringnilKubeRocketCI cd-pipeline-operator Docker image tag. The released image can be found on Dockerhub
imagePullPolicystring"IfNotPresent"
imagePullSecretslist[]Optional array of imagePullSecrets containing private registry credentials # Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry
manageNamespacebooltrueshould 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.
namestring"cd-pipeline-operator"component name
nodeSelectorobject{}
podSecurityContextobject{"runAsNonRoot":true}Pod Security Context Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
resources.limits.memorystring"192Mi"
resources.requests.cpustring"50m"
resources.requests.memorystring"64Mi"
secretManagerstring"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.
securityContextobject{"allowPrivilegeEscalation":false}Container Security Context Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
serviceAccount.annotationsobject{}
tenancyEnginestring"none"defines the type of the tenant engine that can be "none" or "capsule"; for Stages with external cluster tenancyEngine will be ignored
tenantScopePolicy.enabledbooltrueRestrict 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.
tolerationslist[]

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. 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.
  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