Skip to content

Commit

Permalink
moved runtime chart
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Apr 17, 2023
1 parent 560b909 commit ec5435b
Show file tree
Hide file tree
Showing 22 changed files with 388 additions and 249 deletions.
347 changes: 126 additions & 221 deletions charts/tractusx-connector-memory/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion charts/tractusx-connector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies:
- name: tractusx-runtime
version: "0.3.2"
alias: runtime
repository: "file://./charts/tractusx-runtime"
repository: "file://../tractusx-runtime"

# HashiCorp Vault
- name: vault
Expand Down
237 changes: 237 additions & 0 deletions charts/tractusx-connector/README.md

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# tractusx-connector
# tractusx-runtime

![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.2](https://img.shields.io/badge/AppVersion-0.3.2-informational?style=flat-square)

A Helm chart for Tractus-X Eclipse Data Space Connector
A Helm chart for Tractus-X Eclipse Data Space Connector Runtime. The runtime consists of a Control Plane and a Data Plane.
Note that no external dependencies such as a PostgreSQL database and HashiCorp Vault are included.

**Homepage:** <https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector>
This chart is intended for use with an existing PostgreSQL database and an existing HashiCorp Vault.

**Homepage:** <https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector/charts/tractusx-runtime>

## TL;DR

Expand All @@ -15,7 +18,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2

## Source Code

* <https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector>
* <https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector/charts/tractusx-runtime>

## Values

Expand All @@ -31,30 +34,27 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2
| controlplane.debug.enabled | bool | `false` | |
| controlplane.debug.port | int | `1044` | |
| controlplane.debug.suspendOnStart | bool | `false` | |
| controlplane.endpoints | object | `{"control":{"path":"/control","port":8083},"data":{"authKey":"","path":"/data","port":8081},"default":{"path":"/api","port":8080},"ids":{"path":"/api/v1/ids","port":8084},"metrics":{"path":"/metrics","port":9090},"observability":{"insecure":true,"path":"/observability","port":8085},"validation":{"path":"/validation","port":8082}}` | endpoints of the control plane |
| controlplane.endpoints | object | `{"control":{"path":"/control","port":8083},"default":{"path":"/api","port":8080},"management":{"authKey":"","path":"/management","port":8081},"metrics":{"path":"/metrics","port":9090},"observability":{"insecure":true,"path":"/observability","port":8085},"protocol":{"path":"/api/v1/ids","port":8084}}` | endpoints of the control plane |
| controlplane.endpoints.control | object | `{"path":"/control","port":8083}` | control api, used for internal control calls. can be added to the internal ingress, but should probably not |
| controlplane.endpoints.control.path | string | `"/control"` | path for incoming api calls |
| controlplane.endpoints.control.port | int | `8083` | port for incoming api calls |
| controlplane.endpoints.data | object | `{"authKey":"","path":"/data","port":8081}` | data management api, used by internal users, can be added to an ingress and must not be internet facing |
| controlplane.endpoints.data.authKey | string | `""` | authentication key, must be attached to each 'X-Api-Key' request header |
| controlplane.endpoints.data.path | string | `"/data"` | path for incoming api calls |
| controlplane.endpoints.data.port | int | `8081` | port for incoming api calls |
| controlplane.endpoints.default | object | `{"path":"/api","port":8080}` | default api for health checks, should not be added to any ingress |
| controlplane.endpoints.default.path | string | `"/api"` | path for incoming api calls |
| controlplane.endpoints.default.port | int | `8080` | port for incoming api calls |
| controlplane.endpoints.ids | object | `{"path":"/api/v1/ids","port":8084}` | ids api, used for inter connector communication and must be internet facing |
| controlplane.endpoints.ids.path | string | `"/api/v1/ids"` | path for incoming api calls |
| controlplane.endpoints.ids.port | int | `8084` | port for incoming api calls |
| controlplane.endpoints.management | object | `{"authKey":"","path":"/management","port":8081}` | data management api, used by internal users, can be added to an ingress and must not be internet facing |
| controlplane.endpoints.management.authKey | string | `""` | authentication key, must be attached to each 'X-Api-Key' request header |
| controlplane.endpoints.management.path | string | `"/management"` | path for incoming api calls |
| controlplane.endpoints.management.port | int | `8081` | port for incoming api calls |
| controlplane.endpoints.metrics | object | `{"path":"/metrics","port":9090}` | metrics api, used for application metrics, must not be internet facing |
| controlplane.endpoints.metrics.path | string | `"/metrics"` | path for incoming api calls |
| controlplane.endpoints.metrics.port | int | `9090` | port for incoming api calls |
| controlplane.endpoints.observability | object | `{"insecure":true,"path":"/observability","port":8085}` | observability api with unsecured access, must not be internet facing |
| controlplane.endpoints.observability.insecure | bool | `true` | allow or disallow insecure access, i.e. access without authentication |
| controlplane.endpoints.observability.path | string | `"/observability"` | observability api, provides /health /readiness and /liveness endpoints |
| controlplane.endpoints.observability.port | int | `8085` | port for incoming API calls |
| controlplane.endpoints.validation | object | `{"path":"/validation","port":8082}` | validation api, only used by the data plane and should not be added to any ingress |
| controlplane.endpoints.validation.path | string | `"/validation"` | path for incoming api calls |
| controlplane.endpoints.validation.port | int | `8082` | port for incoming api calls |
| controlplane.endpoints.protocol | object | `{"path":"/api/v1/ids","port":8084}` | ids api, used for inter connector communication and must be internet facing |
| controlplane.endpoints.protocol.path | string | `"/api/v1/ids"` | path for incoming api calls |
| controlplane.endpoints.protocol.port | int | `8084` | port for incoming api calls |
| controlplane.env | object | `{}` | |
| controlplane.envConfigMapNames | list | `[]` | |
| controlplane.envSecretNames | list | `[]` | |
Expand All @@ -77,7 +77,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2
| controlplane.ingresses[1].certManager.issuer | string | `""` | If preset enables certificate generation via cert-manager namespace scoped issuer |
| controlplane.ingresses[1].className | string | `""` | Defines the [ingress class](https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class) to use |
| controlplane.ingresses[1].enabled | bool | `false` | |
| controlplane.ingresses[1].endpoints | list | `["data","control"]` | EDC endpoints exposed by this ingress resource |
| controlplane.ingresses[1].endpoints | list | `["management","control"]` | EDC endpoints exposed by this ingress resource |
| controlplane.ingresses[1].hostname | string | `"edc-control.intranet"` | The hostname to be used to precisely map incoming traffic onto the underlying network service |
| controlplane.ingresses[1].tls | object | `{"enabled":false,"secretName":""}` | TLS [tls class](https://kubernetes.io/docs/concepts/services-networking/ingress/#tls) applied to the ingress resource |
| controlplane.ingresses[1].tls.enabled | bool | `false` | Enables TLS on the ingress resource |
Expand Down Expand Up @@ -123,6 +123,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2
| controlplane.service.type | string | `"ClusterIP"` | [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) to expose the running application on a set of Pods as a network service. |
| controlplane.tolerations | list | `[]` | |
| controlplane.url.ids | string | `""` | Explicitly declared url for reaching the ids api (e.g. if ingresses not used) |
| controlplane.url.readiness | string | `""` | |
| controlplane.volumeMounts | list | `[]` | declare where to mount [volumes](https://kubernetes.io/docs/concepts/storage/volumes/) into the container |
| controlplane.volumes | list | `[]` | [volume](https://kubernetes.io/docs/concepts/storage/volumes/) directories |
| customLabels | object | `{}` | |
Expand All @@ -148,10 +149,11 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2
| dataplane.endpoints.default.port | int | `8080` | |
| dataplane.endpoints.metrics.path | string | `"/metrics"` | |
| dataplane.endpoints.metrics.port | int | `9090` | |
| dataplane.endpoints.observability.insecure | bool | `true` | allow or disallow insecure access, i.e. access without authentication |
| dataplane.endpoints.observability.path | string | `"/observability"` | observability api, provides /health /readiness and /liveness endpoints |
| dataplane.endpoints.observability.port | int | `8085` | port for incoming API calls |
| dataplane.endpoints.public.path | string | `"/api/public"` | |
| dataplane.endpoints.public.port | int | `8081` | |
| dataplane.endpoints.validation.path | string | `"/validation"` | |
| dataplane.endpoints.validation.port | int | `8082` | |
| dataplane.env | object | `{}` | |
| dataplane.envConfigMapNames | list | `[]` | |
| dataplane.envSecretNames | list | `[]` | |
Expand Down Expand Up @@ -204,6 +206,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2
| dataplane.service.type | string | `"ClusterIP"` | [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) to expose the running application on a set of Pods as a network service. |
| dataplane.tolerations | list | `[]` | |
| dataplane.url.public | string | `""` | Explicitly declared url for reaching the public api (e.g. if ingresses not used) |
| dataplane.url.readiness | string | `""` | |
| dataplane.volumeMounts | list | `[]` | declare where to mount [volumes](https://kubernetes.io/docs/concepts/storage/volumes/) into the container |
| dataplane.volumes | list | `[]` | [volume](https://kubernetes.io/docs/concepts/storage/volumes/) directories |
| fullnameOverride | string | `""` | |
Expand All @@ -217,13 +220,7 @@ helm install my-release tractusx-edc/tractusx-connector --version 0.3.2
| serviceAccount.create | bool | `true` | |
| serviceAccount.imagePullSecrets | list | `[]` | Existing image pull secret bound to the service account to use to [obtain the container image from private registries](https://kubernetes.io/docs/concepts/containers/images/#using-a-private-registry) |
| serviceAccount.name | string | `""` | |
| vault.azure.certificate | string | `nil` | |
| vault.azure.client | string | `""` | |
| vault.azure.enabled | bool | `false` | |
| vault.azure.name | string | `""` | |
| vault.azure.secret | string | `nil` | |
| vault.azure.tenant | string | `""` | |
| vault.hashicorp.enabled | bool | `false` | |
| vault.hashicorp.enabled | bool | `true` | |
| vault.hashicorp.healthCheck.enabled | bool | `true` | |
| vault.hashicorp.healthCheck.standbyOk | bool | `true` | |
| vault.hashicorp.paths.health | string | `"/v1/sys/health"` | |
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Pod
metadata:
name: "test-controlplane-readiness"
name: "{{include "txdc.fullname" .}}test-controlplane-readiness"
labels:
{{- include "txdc.controlplane.labels" . | nindent 4 }}
annotations:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Pod
metadata:
name: "test-dataplane-readiness"
name: "{{include "txdc.fullname" .}}test-dataplane-readiness"
labels:
{{- include "txdc.dataplane.labels" . | nindent 4 }}
annotations:
Expand Down
File renamed without changes.

0 comments on commit ec5435b

Please sign in to comment.