edp-tekton-interceptor

by sergk

Helm chartv0.2.4App 0.2.4Apache-2.0Verified publisher

A Helm chart for EDP Tekton Interceptor

About this chart

edp-tekton-interceptor

A Helm chart for EDP Tekton Interceptor

Additional Information

EDP Interceptor is used as a component that provides EDP data for Tekton Pipelines. The code is based on Upstream implementation.

EDP Interceptor extracts information from VCS payload, like repository_name. The repository_name has 1-2-1 mapping with EDP Codebase (kind: Codebase; apiVersion:v2.edp.epam.com/v1). Interceptor populates Tekton Pipelines with Codebase SPEC data, see the diagram below:

    ┌────────────┐              ┌─────────────────┐       ┌─────────────┐
    │            │              │ EDP Interceptor │       │   Tekton    │
    │  VCS(Git)  ├──────────────►                 ├───────►             │
    │            │              │                 │       │  Pipelines  │
    └──────┬─────┘              └────────┬────────┘       └─────────────┘
           │                             │
    ┌──────┴─────┐                       │ extract
    │    Repo    │                       │
    │            │                       │
    │            │      ┌────────────────▼───────────────┐
    └────────────┘      │ apiVersion: v2.edp.epam.com/v1 │
                        │ kind: Codebase                 │
                        │                                │
                        │ spec:                          │
                        └────────────────────────────────┘

The data, retrieved from the Codebase SPEC, is used in Tekton Pipelines logic. The docker images for EDP Interceptor are available on the DockerHub. The helm-chart for interceptor deployment is in the same repository by the charts/interceptor directory. Follows Tekton Interceptor paradigm and enriches payload from different Version Control Systems (VCS) like Gerrit, GitHub or GitLab with EDP specific data.

Homepage: https://epam.github.io/edp-install/

Maintainers

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

Source Code

Values

KeyTypeDefaultDescription
global.platformstring"kubernetes"platform type that can be "kubernetes" or "openshift"
image.pullPolicystring"IfNotPresent"
image.repositorystring"epamedp/edp-tekton"
image.tagstringnilOverrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
podAnnotationsobject{}
podSecurityContextobject{}
securityContext.allowPrivilegeEscalationboolfalse
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsGroupint65532
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint65532
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.namestring"edp-interceptor"If not set, a name is generated using the fullname template

Deploy edp-tekton-interceptor with OpenTenant

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