Skip to content

Commit

Permalink
chore: add pgadmin4 instance for database access
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed May 8, 2024
1 parent 14797ae commit 9dfde6d
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/umbrella/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
19 changes: 19 additions & 0 deletions charts/umbrella/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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:
```
[email protected]
```
```
tractusxpgdamin4
```
### Ingresses
Currently enabled ingresses:
Expand Down
3 changes: 3 additions & 0 deletions charts/umbrella/values-adopter-data-exchange.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,3 +195,6 @@ dataconsumerTwo:
# primary:
# persistence:
# enabled: true

pgadmin4:
enabled: true
3 changes: 3 additions & 0 deletions charts/umbrella/values-adopter-portal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ dataconsumer:

tx-data-provider:
enabled: false

pgadmin4:
enabled: true
14 changes: 14 additions & 0 deletions charts/umbrella/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -833,3 +833,17 @@ dataconsumerTwo:

simple-data-backend:
enabled: false

pgadmin4:
enabled: false
env:
email: [email protected]
password: tractusxpgdamin4
ingress:
enabled: true
ingressClassName: "nginx"
hosts:
- host: pgadmin4.tx.test
paths:
- path: /
pathType: Prefix

0 comments on commit 9dfde6d

Please sign in to comment.