From 87c449bff08790546fc0767ab6c22bbe33e0cdab Mon Sep 17 00:00:00 2001 From: Mathias Brunkow Moser Date: Fri, 2 Feb 2024 21:02:12 +0100 Subject: [PATCH] chore: readded pcv data.yaml --- deployment/infrastructure/registry/README.md | 44 ++++++++++++++++++++ deployment/local/storage/pvc-data.yaml | 36 ++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 deployment/infrastructure/registry/README.md create mode 100644 deployment/local/storage/pvc-data.yaml diff --git a/deployment/infrastructure/registry/README.md b/deployment/infrastructure/registry/README.md new file mode 100644 index 000000000..bce427388 --- /dev/null +++ b/deployment/infrastructure/registry/README.md @@ -0,0 +1,44 @@ +# registry + +![Version: 0.3.23](https://img.shields.io/badge/Version-0.3.23-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) + +Tractus-X Digital Twin Registry Helm Chart + +## Requirements + +| Repository | Name | Version | +|------------|------|---------| +| https://eclipse-tractusx.github.io/sldt-digital-twin-registry | provider-dtr(registry) | 0.3.23 | + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| provider-dtr.postgresql.auth.database | string | `"default-database"` | | +| provider-dtr.postgresql.auth.password | string | `""` | | +| provider-dtr.postgresql.auth.username | string | `""` | | +| provider-dtr.registry.authentication | bool | `false` | | +| provider-dtr.registry.dataSource.driverClassName | string | `"org.postgresql.Driver"` | | +| provider-dtr.registry.dataSource.password | string | `""` | | +| provider-dtr.registry.dataSource.sqlInitPlatform | string | `"pg"` | | +| provider-dtr.registry.dataSource.url | string | `"jdbc:postgresql://registry:5432"` | | +| provider-dtr.registry.dataSource.user | string | `""` | | +| provider-dtr.registry.enableKeycloak | bool | `false` | | +| provider-dtr.registry.enablePostgres | bool | `true` | | +| provider-dtr.registry.host | string | `"materialpass.int.demo.catena-x.net"` | | +| provider-dtr.registry.idpClientId | string | `"Cl13-CX-Battery"` | | +| provider-dtr.registry.idpIssuerUri | string | `"https://centralidp.int.demo.catena-x.net/auth/realms/CX-Central"` | | +| provider-dtr.registry.ingress.annotations."cert-manager.io/cluster-issuer" | string | `"selfsigned-cluster-issuer"` | | +| provider-dtr.registry.ingress.annotations."nginx.ingress.kubernetes.io/cors-allow-credentials" | string | `"true"` | | +| provider-dtr.registry.ingress.annotations."nginx.ingress.kubernetes.io/enable-cors" | string | `"true"` | | +| provider-dtr.registry.ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string | `"/$2"` | | +| provider-dtr.registry.ingress.annotations."nginx.ingress.kubernetes.io/use-regex" | string | `"true"` | | +| provider-dtr.registry.ingress.annotations."nginx.ingress.kubernetes.io/x-forwarded-prefix" | string | `"/semantics/registry"` | | +| provider-dtr.registry.ingress.className | string | `"nginx"` | | +| provider-dtr.registry.ingress.enabled | bool | `true` | | +| provider-dtr.registry.ingress.tls | bool | `true` | | +| provider-dtr.registry.ingress.urlPrefix | string | `"/semantics/registry"` | | +| provider-dtr.registry.tenantId | string | `"default-tenant"` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/deployment/local/storage/pvc-data.yaml b/deployment/local/storage/pvc-data.yaml new file mode 100644 index 000000000..32cd20643 --- /dev/null +++ b/deployment/local/storage/pvc-data.yaml @@ -0,0 +1,36 @@ +################################################################################# +# Catena-X - Product Passport Consumer Application +# +# Copyright (c) 2022, 2023 BASF SE, BMW AG, Henkel AG & Co. KGaA +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License, Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0. +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, +# either express or implied. See the +# License for the specific language govern in permissions and limitations +# under the License. +# +# SPDX-License-Identifier: Apache-2.0 +################################################################################# + +kind: PersistentVolumeClaim +apiVersion: v1 +metadata: + name: pvc-data + labels: + {{- include "chart.labels" . | nindent 4 }} + namespace: {{ .Values.namespace }} +spec: + storageClassName: standard + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi