Skip to content

Latest commit

 

History

History
 
 

2022-02-14-helm-chart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Helm chart

Decision

A Helm Chart is provided to be used to deploy the EDC runtime in Kubernetes environments.

Chart design

The chart is highly configurable:

  • Configurable runtime based on Docker image of base EDC, Data Plane Framework Server, or custom runtime.
  • Configurable environment variables (as ConfigMap) for runtime settings, following 12-factor principles.
  • Configurable secrets (injected as environment variables into pods).
  • Configurable labels and annotations.
  • Configurable ingress.

The chart was generated using helm create in order to follow best practice for components, configurability and ingress definitions, and adapted to fit the EDC runtime.

A generic Dockerfile was created that builds a Docker image using any runtime JAR. It is designed to be used as-is and take configuration from environment variables. Alternatively, implementors can extend the Dockerfile to package a configuration file.

Testing

The chart must be tested in CI, like any other code, to ensure it remains valid as either the chart or EDC code evolves.

A GitHub worklow installs minikube (a local lightweight kubernetes installation) and deploys two releases of the chart, for the Consumer and Provider EDC connector of sample 04.0. The workflow then triggers file copy and verifies that the destination file was created on the Provider pod.