edp-install

by sergk

Helm chartv3.17.0-SNAPSHOT.7App 3.17.0-SNAPSHOT.7Apache-2.0Verified publisher

A Helm chart for KubeRocketCI Platform

About this chart

edp-install

A Helm chart for KubeRocketCI Platform

Homepage: https://docs.kuberocketci.io/

Maintainers

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

Source Code

Requirements

RepositoryNameVersion
@epamedpcd-pipeline-operator2.34.0
@epamedpcodebase-operator2.37.0
@epamedpedp-tekton0.29.0
@epamedpgerrit-operator2.26.0
@epamedpgitfusion0.8.0
@epamedpkrci-portal0.10.0

Values

KeyTypeDefaultDescription
annotationsobject{}
cd-pipeline-operator.capsuleTenantobject{"create":true,"spec":null}Required tenancyEngine: capsule. Specify Capsule Tenant specification for Environments.
cd-pipeline-operator.enabledbooltrue
cd-pipeline-operator.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)
cd-pipeline-operator.secretManagerstring"own"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). - none: Disables secrets management logic.
cd-pipeline-operator.serviceAccount.annotationsobject{}
cd-pipeline-operator.tenancyEnginestring"none"Defines the type of the tenant engine that can be "none", "kiosk" or "capsule"; for Stages with external cluster tenancyEngine will be ignored. Default: none
codebase-operator.enabledbooltrue
codebase-operator.ingressControllerstring"nginx"Ingress controller for the GitServer EventListener webhook: "nginx" (Ingress) or "envoy" (Gateway API HTTPRoute). When set to "envoy", the operator attaches an HTTPRoute to global.gatewayApi.{gatewayName,gatewayNamespace}.
edp-tekton.clusterNamestring""Cluster name used to construct the krci-portal pipeline URL (/c//...). Must match krci-portal.configEnv.DEFAULT_CLUSTER_NAME. If left empty, falls back to the first segment of global.dnsWildCard.
edp-tekton.enabledbooltrue
edp-tekton.gitServersobject{}
edp-tekton.interceptor.enabledbooltrueDeploy KubeRocketCI interceptor as a part of pipeline library when true. Default: true
edp-tekton.krci-cache.enabledbooltrue
edp-tekton.pipelines.deployableResourcesobject{"c":{"cmake":true,"make":true},"cs":{"dotnet3.1":false,"dotnet6.0":false},"deploy":true,"docker":true,"gitops":true,"go":{"beego":true,"gin":true,"operatorsdk":true},"groovy":true,"helm":true,"helm-pipeline":true,"infrastructure":true,"java":{"java11":true,"java17":true,"java21":true,"java8":false},"js":{"angular":true,"antora":true,"express":true,"next":true,"react":true,"vue":true},"opa":false,"python":{"ansible":true,"fastapi":true,"flask":true,"python3.8":false},"security":true,"tasks":true,"terraform":true}This section contains the list of pipelines and tasks that will be installed.
edp-tekton.pipelines.deployableResources.cobject{"cmake":true,"make":true}This section control the installation of the review and build pipelines.
edp-tekton.pipelines.deployableResources.deploybooltrueThis flag control the installation of the Deploy pipelines.
edp-tekton.pipelines.deployableResources.tasksbooltrueThis flag control the installation of the tasks.
edp-tekton.pipelines.image.registrystring"docker.io"Registry for tekton pipelines images. Default: docker.io
edp-tekton.pipelines.imagePullSecretslist[]List of image pull secrets used by the Tekton ServiceAccount for pulling images from private registries. Example: imagePullSecrets: - name: regcred
edp-tekton.pipelines.podTemplatelist[]This section allows to determine on which nodes to run tekton pipelines
externalSecrets.enabledboolfalseConfigure External Secrets for KubeRocketCI platform. Deploy SecretStore. Default: false
externalSecrets.manageEDPInstallSecretsbooltrueCreate necessary secrets for KubeRocketCI installation, using External Secret Operator
externalSecrets.manageEDPInstallSecretsNamestring"/edp/deploy-secrets"Value name in AWS ParameterStore or AWS SecretsManager. Used when manageEDPInstallSecrets is true
externalSecrets.manageGitProviderSecretsNamestring"/edp/git-provider-secrets"
externalSecrets.secretProvider.aws.regionstring"eu-central-1"AWS Region where secrets are stored, e.g. eu-central-1
externalSecrets.secretProvider.aws.rolestringnilIAM Role to be used for Accessing AWS either Parameter Store or Secret Manager. Format: arn:aws:iam::<AWS_ACCOUNT_ID>:role/<AWS_IAM_ROLE_NAME>
externalSecrets.secretProvider.aws.servicestring"ParameterStore"Use AWS as a Secret Provider. Can be ParameterStore or SecretsManager
externalSecrets.secretProvider.generic.secretStore.namestring"example-secret-store"Defines SecretStore name.
externalSecrets.secretProvider.generic.secretStore.providerConfigobject{}Defines SecretStore provider configuration.
externalSecrets.typestring"aws"Defines provider type. One of aws or generic.
extraObjectslist[]Array of extra K8s manifests to deploy
extraQuickLinksobject{}Define extra Quick Links, more details: https://github.com/epam/edp-codebase-operator/
gerrit-operator.enabledboolfalse
gitfusion.enabledbooltrue
global.adminGroupNamestring""
global.apiClusterEndpointstring""API Сluster Endpoint configuration for static kubeconfig generation
global.availableClustersstring""Define the list of available remote clusters to deploy applications. Example: "cluster1, cluster2, cluster3"
global.clusterNamestring""Cluster name used to construct the krci-portal pipeline URL (/c//...). Must match krci-portal configEnv.DEFAULT_CLUSTER_NAME. If left empty, falls back to the first segment of dnsWildCard
global.developerGroupNamestring""
global.dnsWildCardstring""a cluster DNS wildcard name
global.dockerRegistry.awsRegionstring""Defines the geographic area where the (AWS) Elastic Container Registry repository is hosted (optional). E.g. "eu-central-1". Mandatory if 'global.dockerRegistry.type=ecr' for kaniko build-task. Ref: https://github.com/epam/edp-tekton/blob/release/0.10/charts/pipelines-library/templates/tasks/kaniko.yaml#L73
global.dockerRegistry.spacestring""Defines project name.
global.dockerRegistry.typestring""Defines type of registry. One of ecr, harbor, dockerhub, openshift, nexus or ghcr. 'openshift' registry is available only in case if platform is deployed on the OpenShift cluster and the variable global.platform is set to 'openshift'.
global.dockerRegistry.urlstring""Defines registry endpoint URL.
global.gatewayApi.gatewayNamestring"main-gateway"Name of the parent Gateway resource
global.gatewayApi.gatewayNamespacestring"envoy-gateway-system"Namespace of the parent Gateway resource
global.gitProviderslist["github"]Can be gerrit, github, gitlab or bitbucket. Default: github
global.platformstring"kubernetes"platform type that can be "kubernetes" or "openshift"
global.viewerGroupNamestring""
krci-portal.configEnv.API_PREFIXstring"/api"
krci-portal.configEnv.DEFAULT_CLUSTER_NAMEstring"core"
krci-portal.configEnv.DEFAULT_CLUSTER_NAMESPACEstring"krci"
krci-portal.configEnv.DEPENDENCY_TRACK_URLstring"https://deptrack.example.com"
krci-portal.configEnv.DEPLOY_CLIENT_DIST_DIRstring"/app/static"
krci-portal.configEnv.GITFUSION_URLstring"http://gitfusion.krci:8080"
krci-portal.configEnv.OIDC_CLIENT_IDstring"portal"
krci-portal.configEnv.OIDC_CODE_CHALLENGE_METHODstring"S256"
krci-portal.configEnv.OIDC_ISSUER_URLstring"https://keycloak.example.com/realms/shared"
krci-portal.configEnv.OIDC_SCOPEstring"openid profile email"
krci-portal.configEnv.PORTAL_URLstring"https://portal.example.com"
krci-portal.configEnv.SERVER_PORTint3000
krci-portal.configEnv.SONAR_HOST_URLstring"https://sonar.example.com/"
krci-portal.configEnv.TEKTON_RESULTS_URLstring"https://tekton-results.example.com"
krci-portal.eso.apiVersionstring"external-secrets.io/v1"Defines API version for the ExternalSecret resource.
krci-portal.eso.awsobject{"region":"eu-central-1","roleArn":"arn:aws:iam::012345678910:role/AWSIRSA_Shared_ExternalSecretOperatorAccess"}AWS configuration (if provider is aws).
krci-portal.eso.aws.regionstring"eu-central-1"AWS region.
krci-portal.eso.aws.roleArnstring"arn:aws:iam::012345678910:role/AWSIRSA_Shared_ExternalSecretOperatorAccess"AWS role ARN for the ExternalSecretOperator to assume.
krci-portal.eso.enabledboolfalseInstall components of the ESO.
krci-portal.eso.providerstring"aws"Defines provider type. One of aws, generic, or vault.
krci-portal.eso.secretPathstring"/edp/deploy-secrets"Defines the path to the secret in the provider. If provider is vault, this is the path must be prefixed with secret/.
krci-portal.extraEnvFromlist[{"secretRef":{"name":"portal-secret"}},{"configMapRef":{"name":"portal-config"}}]Sources of the portal environment (envFrom of the Deployment). The portal does not start without them. The portal-config ConfigMap is rendered from configEnv. The portal-secret Secret keeps the sensitive data: it must hold SERVER_SECRET and is created manually or by eso. Until the Secret exists, the pod stays in CreateContainerConfigError.
marketplaceTemplatesobject{"enabled":true}This block is a configuration section that controls the creation of the default marketplace templates.
quickLinksobject``Define platform Quick Links, more details: https://github.com/epam/edp-codebase-operator/ Example: "https://argocd.example.com"
quickLinks.logging.providerstring""Define the provider name for correct URL generation. Available providers: "opensearch", "datadog". If the provider name is not specified, the base URL will be used.
quickLinks.monitoring.providerstring""Define the provider name for correct URL generation. Available providers: "grafana", "datadog". If the provider name is not specified, the base URL will be used.

Deploy edp-install with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has edp-install 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 chartedp-install is pinned at v3.17.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