Skip to content

Commit

Permalink
Merge branch 'main' into fix/default-realm
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoweiss authored Nov 21, 2024
2 parents ff4ba06 + 274e139 commit c1110ee
Show file tree
Hide file tree
Showing 15 changed files with 1,084 additions and 962 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.6.2
### Added
## fixed
- Change documentation folder structure

## 0.6.1
### Added
## fixed
Expand Down
14 changes: 8 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Deploy using Helm and K8s
# Deploy using Helm and K8s
If you have a running Kubernetes cluster available, you can deploy the Registry using our Helm Chart, which is located under `charts/registry`.
In case you don't have a running cluster, you can set up one by yourself locally, using [minikube](https://minikube.sigs.k8s.io/docs/start/).
In the following, we will use a minikube cluster for reference.
Expand Down Expand Up @@ -27,10 +27,10 @@ For that to work, you need to append `/etc/hosts` by running `echo "$(minikube i
For automated certificate generation, use and configure [cert-manager](https://cert-manager.io/).
By default, authentication is activated, please adjust `registry.authentication` if needed

## Parameters
# Parameters
The Helm Chart can be configured using the following parameters (incomplete list). For a full overview, please see the [values.yaml](./backend/deployment/registry/values.yaml).

### Registry
## Registry
| Parameter | Description | Default value |
| --- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|
| `registry.image` | The image of the Registry | `registry:latest` |
Expand All @@ -53,23 +53,25 @@ The Helm Chart can be configured using the following parameters (incomplete list
| `registry.externalSubjectIdWildcardPrefix` | WildcardPrefix to make a specificAssetId visible for everyone. | `PUBLIC_READABLE` |
| `registry.externalSubjectIdWildcardAllowedTypes` | List of allowed types that can be made visible to everyone. | `manufacturerPartId,assetLifecyclePhase` |

### PostgreSQL
## PostgreSQL
| Parameter | Description | Default value |
| --- |-------------------------------------------------------------------------------------------------------------------------------|--------------------|
| `postgresql.primary.persistence.size` | Size of the `PersistentVolume` that persists the data | `50Gi` |
| `postgresql.auth.username` | Username that is used to authenticate at the database | `default-user` |
| `postgresql.auth.password` | Password for authentication at the database. If password is empty, the postgres pw will be generated random via postgres-init | `` |
| `postgresql.auth.database` | Database name | `default-database` |

### Prerequisites
## Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure

### Required postgresql extensions
## Required postgresql extensions
The application requires the following postgresql-extensions to be installed in the postgres database:

| PostgreSQL Extension | Description |
|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| uuid-ossp | Via Liquibase scripts, the uuid-ossp extension will be created if it does not exist. See [liquibase-script](https://github.com/eclipse-tractusx/sldt-digital-twin-registry/blob/main/backend/src/main/resources/db/changelog/db.changelog-extensions.yaml). <br/> In case of using Azure Database for PostgreSQL, the extension needs to be manually activated. <br/> More details can be found at [PostgreSQL extensions in Azure Database for PostgreSQL - Flexible Server](https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-extensions) |



2 changes: 1 addition & 1 deletion charts/registry/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# registry

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

**Tractus-X Digital Twin Registry Helm Chart**<br/>
This Helm charts install the Digital Twin Registry and its dependencies.
Expand Down
Loading

0 comments on commit c1110ee

Please sign in to comment.