Skip to content

Commit 2622c21

Browse files
authored
Merge pull request #413 from eclipse-tractusx/hotfix/catenax-ng-ref
Hotfix/catenax-ng-ref: Removed Catena-X NG repository references
2 parents 2ecd19b + f77fb54 commit 2622c21

File tree

14 files changed

+160
-400
lines changed

14 files changed

+160
-400
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e
2727

2828
## [Unreleased]
2929

30+
## Added
31+
- Substituted the old data-service that was pointing to the Catena-X NG at Home repo to the new tx umbrella simple data service
32+
33+
## Deleted
34+
- Removed all the catena-x ng references from the documentation
35+
36+
3037
## [released]
3138
## [v4.0.1] - 24-07-2024
3239

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ The following environment variables must be set in [build and deploy](./dpp-fron
210210
../buildAndDeploy.sh consumer-frontend
211211
```
212212

213-
You can run the application in docker container with existing image `ghcr.io/catenax-ng/tx-digital-product-pass/digital-product-pass-frontend:latest` from GitHub packages. You need to update the [build and deploy](./buildAndDeploy.sh) script.
213+
You can run the application in docker container with existing image `docker.io/tractusx/digital-product-pass-frontend:latest` from GitHub packages. You need to update the [build and deploy](./buildAndDeploy.sh) script.
214214

215215
The consumer frontend is available in browser at [http://localhost:8080](http://localhost:8080)
216216

charts/digital-product-pass/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type: application
4343
# to the chart and its templates, including the app version.
4444
# Versions are expected to follow Semantic Versioning (https://semver.org/)
4545

46-
version: 4.0.1
46+
version: 4.0.2
4747

4848
# This is the version number of the application being deployed. This version number should be
4949
# incremented each time you make changes to the application. Versions are not expected to

charts/digital-product-pass/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ oauth:
388388
header: "X-Api-Key"
389389
secret: "<api-key>"
390390

391-
# Following Catena-X Helm Best Practices @url: https://catenax-ng.github.io/docs/kubernetes-basics/helm
392391
# @url: https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-resource-requests-and-limits
393392
resources:
394393
limits:

deployment/infrastructure/data-provider/data-service/Chart.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@
2424
#################################################################################
2525
---
2626
apiVersion: v2
27-
name: data-service
28-
description: >-
29-
The Eclipse Dataspace Connector requires the Backend Application to transfer data using the HTTP-TransferMethod.
27+
name: simple-data-backend
28+
description: A Helm chart for Kubernetes
3029

3130
# A chart can be either an 'application' or a 'library' chart.
3231
#
@@ -41,10 +40,18 @@ type: application
4140
# This is the chart version. This version number should be incremented each time you make changes
4241
# to the chart and its templates, including the app version.
4342
# Versions are expected to follow Semantic Versioning (https://semver.org/)
44-
version: 0.0.1
43+
version: 0.1.0
4544

4645
# This is the version number of the application being deployed. This version number should be
4746
# incremented each time you make changes to the application. Versions are not expected to
4847
# follow Semantic Versioning. They should reflect the version the application is using.
4948
# It is recommended to use it with quotes.
5049
appVersion: "0.0.1"
50+
51+
52+
dependencies:
53+
- name: "simple-data-backend"
54+
repository: https://eclipse-tractusx.github.io/charts/dev
55+
alias: simple-data-backend
56+
version: 0.1.0
57+
condition: enabled
Lines changed: 46 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,58 @@
1-
<!--
2-
#######################################################################
1+
# simple-data-backend
32

4-
Tractus-X - Digital Product Pass Application
3+
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
54

6-
Copyright (c) 2022, 2024 BMW AG
7-
Copyright (c) 2022, 2024 Henkel AG & Co. KGaA
8-
Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
9-
Copyright (c) 2023, 2024 Contributors to the Eclipse Foundation
5+
A Helm chart for Kubernetes
106

11-
See the NOTICE file(s) distributed with this work for additional
12-
information regarding copyright ownership.
7+
## Requirements
138

14-
This work is made available under the terms of the
15-
Creative Commons Attribution 4.0 International (CC-BY-4.0) license,
16-
which is available at
17-
https://creativecommons.org/licenses/by/4.0/legalcode.
18-
19-
SPDX-License-Identifier: CC-BY-4.0
20-
21-
#######################################################################
22-
-->
23-
24-
# data-service
25-
26-
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.0.1](https://img.shields.io/badge/AppVersion-0.0.1-informational?style=flat-square)
27-
28-
The Eclipse Dataspace Connector requires the Backend Application to transfer data using the HTTP-TransferMethod.
9+
| Repository | Name | Version |
10+
|------------|------|---------|
11+
| https://eclipse-tractusx.github.io/charts/dev | simple-data-backend(simple-data-backend) | 0.1.0 |
2912

3013
## Values
3114

3215
| Key | Type | Default | Description |
3316
|-----|------|---------|-------------|
34-
| affinity | object | `{}` | |
35-
| container.port | int | `80` | |
36-
| fullnameOverride | string | `"data-service"` | Overrides the releases full name |
37-
| image.command | string | `""` | |
38-
| image.pullPolicy | string | `"IfNotPresent"` | [Kubernetes image pull policy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy) to use |
39-
| image.repository | string | `"ghcr.io/catenax-ng/catenax-at-home/provider-backend-service"` | Which container image to use |
40-
| image.tag | string | `"0.0.1"` | Overrides the image tag whose default is the chart appVersion |
41-
| imagePullSecrets | list | `[]` | |
42-
| ingress.annotations."nginx.ingress.kubernetes.io/backend-protocol" | string | `"HTTP"` | |
43-
| ingress.annotations."nginx.ingress.kubernetes.io/force-ssl-redirect" | string | `"true"` | |
44-
| ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string | `"/$2"` | |
45-
| ingress.annotations."nginx.ingress.kubernetes.io/ssl-passthrough" | string | `"false"` | |
46-
| ingress.className | string | `"nginx"` | |
47-
| ingress.enabled | bool | `true` | |
48-
| ingress.hosts[0].host | string | `"materialpass.int.demo.catena-x.net"` | |
49-
| ingress.hosts[0].paths[0].path | string | `"/provider_backend(/|$)(.*)"` | |
50-
| ingress.hosts[0].paths[0].pathType | string | `"Prefix"` | |
51-
| ingress.tls[0].hosts[0] | string | `"materialpass.int.demo.catena-x.net"` | |
52-
| ingress.tls[0].secretName | string | `"tls-secret"` | |
53-
| livenessProbe | object | `{}` | |
54-
| nameOverride | string | `""` | Overrides the charts name |
55-
| nodeSelector | object | `{}` | |
56-
| podAnnotations | object | `{}` | additional annotations for the pod |
57-
| podSecurityContext.fsGroup | int | `10001` | The owner for volumes and any files created within volumes will belong to this guid |
58-
| podSecurityContext.runAsGroup | int | `10001` | Processes within a pod will belong to this guid |
59-
| podSecurityContext.runAsUser | int | `10001` | Runs all processes within a pod with a special uid |
60-
| podSecurityContext.seccompProfile.type | string | `"RuntimeDefault"` | Restrict a Container's Syscalls with seccomp |
61-
| readinessProbe | object | `{}` | |
62-
| replicaCount | int | `1` | |
63-
| securityContext.allowPrivilegeEscalation | bool | `false` | Controls [Privilege Escalation](https://kubernetes.io/docs/concepts/security/pod-security-policy/#privilege-escalation) enabling setuid binaries changing the effective user ID |
64-
| securityContext.capabilities.add | list | `[]` | Specifies which capabilities to add to issue specialized syscalls |
65-
| securityContext.capabilities.drop | list | `["ALL"]` | Specifies which capabilities to drop to reduce syscall attack surface |
66-
| securityContext.readOnlyRootFilesystem | bool | `true` | Whether the root filesystem is mounted in read-only mode |
67-
| securityContext.runAsNonRoot | bool | `true` | Requires the container to run without root privileges |
68-
| securityContext.runAsUser | int | `10001` | The container's process will run with the specified uid |
69-
| service.port | int | `8080` | [Service type](https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service) to expose the running application on a set of Pods as a network service. |
70-
| 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. |
71-
| tolerations | list | `[]` | |
17+
| simple-data-backend.affinity | object | `{}` | |
18+
| simple-data-backend.autoscaling.enabled | bool | `false` | |
19+
| simple-data-backend.autoscaling.maxReplicas | int | `100` | |
20+
| simple-data-backend.autoscaling.minReplicas | int | `1` | |
21+
| simple-data-backend.autoscaling.targetCPUUtilizationPercentage | int | `80` | |
22+
| simple-data-backend.fullnameOverride | string | `"simple-data-backend"` | |
23+
| simple-data-backend.image.pullPolicy | string | `"IfNotPresent"` | |
24+
| simple-data-backend.image.repository | string | `"tractusx/simple-data-backend"` | |
25+
| simple-data-backend.image.tag | string | `"latest"` | |
26+
| simple-data-backend.imagePullSecrets | list | `[]` | |
27+
| simple-data-backend.ingress.annotations."nginx.ingress.kubernetes.io/backend-protocol" | string | `"HTTP"` | |
28+
| simple-data-backend.ingress.annotations."nginx.ingress.kubernetes.io/force-ssl-redirect" | string | `"true"` | |
29+
| simple-data-backend.ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string | `"/$2"` | |
30+
| simple-data-backend.ingress.annotations."nginx.ingress.kubernetes.io/ssl-passthrough" | string | `"false"` | |
31+
| simple-data-backend.ingress.className | string | `"nginx"` | |
32+
| simple-data-backend.ingress.enabled | bool | `true` | |
33+
| simple-data-backend.ingress.hosts[0].host | string | `"tx-dpp.int.catena-x.net"` | |
34+
| simple-data-backend.ingress.hosts[0].paths[0].path | string | `"/data-service(/|$)(.*)"` | |
35+
| simple-data-backend.ingress.hosts[0].paths[0].pathType | string | `"Prefix"` | |
36+
| simple-data-backend.ingress.tls[0].hosts[0] | string | `"tx-dpp.int.catena-x.net"` | |
37+
| simple-data-backend.ingress.tls[0].secretName | string | `"tls-secret"` | |
38+
| simple-data-backend.livenessProbe | object | `{}` | |
39+
| simple-data-backend.nameOverride | string | `"simple-data-backend"` | |
40+
| simple-data-backend.nodeSelector | object | `{}` | |
41+
| simple-data-backend.podAnnotations | object | `{}` | |
42+
| simple-data-backend.podSecurityContext | object | `{}` | |
43+
| simple-data-backend.readinessProbe | object | `{}` | |
44+
| simple-data-backend.replicaCount | int | `1` | |
45+
| simple-data-backend.resources.limits.cpu | string | `"250m"` | |
46+
| simple-data-backend.resources.limits.memory | string | `"512Mi"` | |
47+
| simple-data-backend.resources.requests.cpu | string | `"50m"` | |
48+
| simple-data-backend.resources.requests.memory | string | `"512Mi"` | |
49+
| simple-data-backend.securityContext.allowPrivilegeEscalation | bool | `false` | |
50+
| simple-data-backend.securityContext.runAsGroup | int | `3000` | |
51+
| simple-data-backend.securityContext.runAsNonRoot | bool | `true` | |
52+
| simple-data-backend.securityContext.runAsUser | int | `1000` | |
53+
| simple-data-backend.service.port | int | `8080` | |
54+
| simple-data-backend.service.type | string | `"ClusterIP"` | |
55+
| simple-data-backend.tolerations | list | `[]` | |
7256

7357
----------------------------------------------
7458
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

deployment/infrastructure/data-provider/data-service/templates/_helpers.tpl

Lines changed: 0 additions & 87 deletions
This file was deleted.

deployment/infrastructure/data-provider/data-service/templates/deployment.yaml

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,31 @@
2626
apiVersion: apps/v1
2727
kind: Deployment
2828
metadata:
29-
name: {{ include "data-service.fullname" . }}
29+
name: {{ include "simple-data-backend.fullname" . }}
3030
labels:
31-
{{- include "data-service.labels" . | nindent 4 }}
31+
{{- include "simple-data-backend.labels" . | nindent 4 }}
3232
spec:
33+
{{- if not .Values.autoscaling.enabled }}
34+
replicas: {{ .Values.replicaCount }}
35+
{{- end }}
3336
selector:
3437
matchLabels:
35-
{{- include "data-service.selectorLabels" . | nindent 6 }}
38+
{{- include "simple-data-backend.selectorLabels" . | nindent 6 }}
3639
template:
3740
metadata:
3841
{{- with .Values.podAnnotations }}
3942
annotations:
4043
{{- toYaml . | nindent 8 }}
4144
{{- end }}
4245
labels:
43-
{{- include "data-service.selectorLabels" . | nindent 8 }}
46+
{{- include "simple-data-backend.selectorLabels" . | nindent 8 }}
4447
spec:
4548
{{- with .Values.imagePullSecrets }}
4649
imagePullSecrets:
4750
{{- toYaml . | nindent 8 }}
4851
{{- end }}
52+
# @url: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
53+
automountServiceAccountToken: false
4954
securityContext:
5055
{{- toYaml .Values.podSecurityContext | nindent 8 }}
5156
containers:
@@ -54,28 +59,15 @@ spec:
5459
{{- toYaml .Values.securityContext | nindent 12 }}
5560
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
5661
imagePullPolicy: {{ .Values.image.pullPolicy }}
57-
{{ if .Values.image.command -}}
58-
command:
59-
{{ toYaml .Values.image.command | nindent 12 }}
60-
{{ end -}}
61-
{{ if .Values.livenessProbe -}}
62-
livenessProbe:
63-
{{ toYaml .Values.livenessProbe | nindent 12 }}
64-
{{ end -}}
65-
{{ if .Values.readinessProbe -}}
66-
readinessProbe:
67-
{{ toYaml .Values.readinessProbe | nindent 12 }}
68-
{{ end -}}
6962
ports:
70-
- containerPort: {{ .Values.container.port }}
63+
- name: default
64+
containerPort: {{ .Values.service.port }}
7165
protocol: TCP
72-
name: http
73-
volumeMounts:
74-
- mountPath: /tmp
75-
name: tmp
76-
volumes:
77-
- emptyDir: {}
78-
name: tmp
66+
# @url: https://cloud.google.com/blog/products/containers-kubernetes/kubernetes-best-practices-setting-up-health-checks-with-readiness-and-liveness-probes
67+
livenessProbe: {}
68+
readinessProbe: {}
69+
resources:
70+
{{- toYaml .Values.resources | nindent 12 }}
7971
{{- with .Values.nodeSelector }}
8072
nodeSelector:
8173
{{- toYaml . | nindent 8 }}
@@ -87,4 +79,4 @@ spec:
8779
{{- with .Values.tolerations }}
8880
tolerations:
8981
{{- toYaml . | nindent 8 }}
90-
{{- end }}
82+
{{- end }}

0 commit comments

Comments
 (0)