From e2275de8839166bbc9c2eaf5f1d9fc92fb7137f0 Mon Sep 17 00:00:00 2001 From: Jaro Hartmann Date: Mon, 22 Apr 2024 09:44:22 +0200 Subject: [PATCH] chore(charts):[#358] Add test BDRS service --- charts/connector/bdrs/Chart.yaml | 29 +++++++++++++++++++++++ charts/connector/bdrs/values.yaml | 38 +++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 charts/connector/bdrs/Chart.yaml create mode 100644 charts/connector/bdrs/values.yaml diff --git a/charts/connector/bdrs/Chart.yaml b/charts/connector/bdrs/Chart.yaml new file mode 100644 index 0000000000..9e7d7e5845 --- /dev/null +++ b/charts/connector/bdrs/Chart.yaml @@ -0,0 +1,29 @@ +apiVersion: v2 +name: bdrs +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" + +dependencies: + - name: bdrs-server-memory + repository: https://eclipse-tractusx.github.io/charts/dev + version: 0.0.2 \ No newline at end of file diff --git a/charts/connector/bdrs/values.yaml b/charts/connector/bdrs/values.yaml new file mode 100644 index 0000000000..e9c051e0cd --- /dev/null +++ b/charts/connector/bdrs/values.yaml @@ -0,0 +1,38 @@ +bdrs-server-memory: + server: + endpoints: + # -- default api for health checks, should not be added to any ingress + default: + # -- port for incoming api calls + port: 8080 + # -- path for incoming api calls + path: /api + # -- management api, used by internal users, can be added to an ingress and must not be internet facing + management: + # -- port for incoming api calls + port: 8081 + # -- path for incoming api calls + path: /api/management + # -- authentication key, must be attached to each 'X-Api-Key' request header + authKey: + # -- directory API + directory: + # -- port for incoming api calls + port: 8082 + # -- path for incoming api calls + path: /api/directory + + ingresses: + - enabled: true + hostname: "irs-bdrs.dev.demo.catena-x.net" + annotations: + nginx.ingress.kubernetes.io/ssl-passthrough: "false" + nginx.ingress.kubernetes.io/backend-protocol: "HTTP" + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" + endpoints: + - protocol + - public + tls: + enabled: true + secretName: tls-secret + className: "nginx"