From 9dfde6d37e623d566dc56a838f4bc48157e6fd39 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Wed, 8 May 2024 13:38:55 +0200 Subject: [PATCH] chore: add pgadmin4 instance for database access --- charts/umbrella/Chart.yaml | 4 ++++ charts/umbrella/README.md | 19 +++++++++++++++++++ .../values-adopter-data-exchange.yaml | 3 +++ charts/umbrella/values-adopter-portal.yaml | 3 +++ charts/umbrella/values.yaml | 14 ++++++++++++++ 5 files changed, 43 insertions(+) diff --git a/charts/umbrella/Chart.yaml b/charts/umbrella/Chart.yaml index 2641eb76..2791d97d 100644 --- a/charts/umbrella/Chart.yaml +++ b/charts/umbrella/Chart.yaml @@ -82,3 +82,7 @@ dependencies: version: 0.0.3 repository: https://eclipse-tractusx.github.io/charts/dev condition: dataconsumerTwo.enabled + - condition: pgadmin4.enabled + name: pgadmin4 + repository: https://helm.runix.net + version: 1.25.x diff --git a/charts/umbrella/README.md b/charts/umbrella/README.md index 2498e99e..5ea97466 100644 --- a/charts/umbrella/README.md +++ b/charts/umbrella/README.md @@ -16,6 +16,7 @@ The chart aims for a completely automated setup of a fully functional network, t - [Data exchange](#data-exchange) - [Get to know the portal](#get-to-know-the-portal) - [Uninstall](#uninstall) +- [Database Access](#database-access) - [Ingresses](#ingresses) - [Seeding](#seeding) @@ -367,6 +368,24 @@ helm delete umbrella --namespace umbrella > If persistance for one or more components is enabled, the persistent volume claims (PVCs) and connected persistent volumes (PVs) need to be removed manually even if you deleted the release from the cluster. > +### Database Access + +This chart also contains a pgadmin4 instance for easy access to the deployed Postgres databases which are only available from within the Kubernetes cluster. + +pgadmin4 is by default enabled with in the predefined subsets for data exchange and portal. + +Address: [pgadmin4.tx.test](http://pgadmin4.tx.test) + +Credentials to login: + +``` +pgadmin4@txtest.org +``` + +``` +tractusxpgdamin4 +``` + ### Ingresses Currently enabled ingresses: diff --git a/charts/umbrella/values-adopter-data-exchange.yaml b/charts/umbrella/values-adopter-data-exchange.yaml index 3573ab45..19b41812 100644 --- a/charts/umbrella/values-adopter-data-exchange.yaml +++ b/charts/umbrella/values-adopter-data-exchange.yaml @@ -195,3 +195,6 @@ dataconsumerTwo: # primary: # persistence: # enabled: true + +pgadmin4: + enabled: true diff --git a/charts/umbrella/values-adopter-portal.yaml b/charts/umbrella/values-adopter-portal.yaml index 10d74033..3cd7267b 100644 --- a/charts/umbrella/values-adopter-portal.yaml +++ b/charts/umbrella/values-adopter-portal.yaml @@ -61,3 +61,6 @@ dataconsumer: tx-data-provider: enabled: false + +pgadmin4: + enabled: true diff --git a/charts/umbrella/values.yaml b/charts/umbrella/values.yaml index 6be2d9bc..36c9035b 100644 --- a/charts/umbrella/values.yaml +++ b/charts/umbrella/values.yaml @@ -833,3 +833,17 @@ dataconsumerTwo: simple-data-backend: enabled: false + +pgadmin4: + enabled: false + env: + email: pgadmin4@txtest.org + password: tractusxpgdamin4 + ingress: + enabled: true + ingressClassName: "nginx" + hosts: + - host: pgadmin4.tx.test + paths: + - path: / + pathType: Prefix