edp-tekton-interceptor
by sergk
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
| Name | Url | |
|---|---|---|
| epmd-edp | [email protected] | https://solutionshub.epam.com/solution/epam-delivery-platform |
| sergk | https://github.com/SergK |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| global.platform | string | "kubernetes" | platform type that can be "kubernetes" or "openshift" |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "epamedp/edp-tekton" | |
| image.tag | string | nil | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| securityContext.allowPrivilegeEscalation | bool | false | |
| securityContext.capabilities.drop[0] | string | "ALL" | |
| securityContext.readOnlyRootFilesystem | bool | true | |
| securityContext.runAsGroup | int | 65532 | |
| securityContext.runAsNonRoot | bool | true | |
| securityContext.runAsUser | int | 65532 | |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.name | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartedp-tekton-interceptor is pinned at v0.2.4 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