Skip to content

Commit 94fb107

Browse files
authored
Merge pull request #100 from gomezbc/feature/pgadmin-setup
2 parents f9cf6e6 + fa444e0 commit 94fb107

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

charts/industry-core-hub/Chart.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,8 @@ dependencies:
3131
- condition: postgresql.enabled
3232
name: postgresql
3333
repository: https://charts.bitnami.com/bitnami
34-
version: 12.x.x
34+
version: 12.x.x
35+
- condition: pgadmin4.enabled
36+
name: pgadmin4
37+
repository: https://helm.runix.net
38+
version: 1.25.x

charts/industry-core-hub/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ helm install industry-core-hub tractusx/industry-core-hub
2828
| Repository | Name | Version |
2929
|------------|------|---------|
3030
| https://charts.bitnami.com/bitnami | postgresql | 12.x.x |
31+
| https://helm.runix.net | pgadmin4 | 1.25.x |
3132

3233
## Values
3334

@@ -80,6 +81,7 @@ helm install industry-core-hub tractusx/industry-core-hub
8081
| livenessProbe.timeoutSeconds | int | `10` | |
8182
| nameOverride | string | `""` | |
8283
| nodeSelector | object | `{}` | |
84+
| pgadmin4 | object | `{"enabled":false,"env":{"email":"pgadmin4@txtest.org","password":"tractusxpgadmin4"},"ingress":{"enabled":false},"persistentVolume":{"enabled":false}}` | pgAdmin4 configuration |
8385
| postgresql | object | `{"audit":{"logLinePrefix":"%m %u %d ","pgAuditLog":"write, ddl"},"auth":{"database":"ichub-postgres","existingSecret":"ichub-postgres-secret","ichubPassword":"","ichubUser":"ichub","password":"","port":5432},"enabled":true,"fullnameOverride":"","nameOverride":"","primary":{"extendedConfiguration":"","extraEnvVars":[{"name":"ICHUB_PASSWORD","valueFrom":{"secretKeyRef":{"key":"ichub-password","name":"{{ .Values.auth.existingSecret }}"}}}],"initdb":{"scriptsConfigMap":"{{ .Release.Name }}-cm-postgres"},"persistence":{"enabled":true,"size":"10Gi","storageClass":""}}}` | PostgreSQL chart configuration |
8486
| postgresql.auth.database | string | `"ichub-postgres"` | Database name |
8587
| postgresql.auth.existingSecret | string | `"ichub-postgres-secret"` | Secret containing the passwords for root usernames postgres and non-root usernames repl_user and ichub. |

charts/industry-core-hub/values-int.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,18 @@ postgresql:
2727
password: <path:industry-core-hub/data/db#rootPass>
2828
## Industry Core User Password
2929
ichubPassword: <path:industry-core-hub/data/db#ichubPass>
30-
30+
31+
# -- pgAdmin4 configuration
32+
pgadmin4:
33+
enabled: true
34+
env:
35+
email: <path:industry-core-hub/data/pgadmin#email>
36+
password: <path:industry-core-hub/data/pgadmin#password>
37+
ingress:
38+
enabled: true
39+
ingressClassName: "nginx"
40+
hosts:
41+
- host: pgadmin-ichub.int.catena-x.net
42+
paths:
43+
- path: /
44+
pathType: Prefix

charts/industry-core-hub/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,18 @@ postgresql:
198198
# -- StorageClass name (use default if not specified)
199199
storageClass: ""
200200

201+
# -- pgAdmin4 configuration
202+
pgadmin4:
203+
enabled: false
204+
env:
205+
email: pgadmin4@txtest.org
206+
password: tractusxpgadmin4
207+
persistentVolume:
208+
enabled: false
209+
ingress:
210+
enabled: false
211+
212+
201213
# -- External database configuration (used when postgresql.enabled is false)
202214
externalDatabase:
203215
# -- External PostgreSQL host

0 commit comments

Comments
 (0)