Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prerequisites): add postgresql to prerequistes Helm chart as an …
Browse files Browse the repository at this point in the history
…optional dependency
Masterchen09 committed Jun 3, 2022
1 parent f4aeb6b commit d3099d0
Showing 3 changed files with 25 additions and 2 deletions.
15 changes: 14 additions & 1 deletion charts/datahub/values.yaml
Original file line number Diff line number Diff line change
@@ -90,6 +90,7 @@ datahubUpgrade:
tag: "v0.8.36"
noCodeDataMigration:
sqlDbType: "MYSQL"
# sqlDbType: "POSTGRES"
podSecurityContext: {}
# fsGroup: 1000
securityContext: {}
@@ -139,6 +140,17 @@ global:
secretRef: mysql-secrets
secretKey: mysql-root-password

## Use below for usage of PostgreSQL instead of MySQL
# host: "prerequisites-postgresql:5432"
# hostForpostgresqlClient: "prerequisites-postgresql"
# port: "5432"
# url: "jdbc:postgresql://prerequisites-postgresql:5432/datahub"
# driver: "org.postgresql.Driver"
# username: "postgres"
# password:
# secretRef: postgresql-secrets
# secretKey: postgres-password

datahub:
gms:
port: "8080"
@@ -179,10 +191,11 @@ global:
# hostnames:
# - "broker"
# - "mysql"
# - "postgresql"
# - "elasticsearch"
# - "neo4j"

## Add below to enable SSL for kafka
## Add below to enable SSL for kafka
# credentialsAndCertsSecrets:
# name: datahub-certs
# path: /mnt/datahub/certs
6 changes: 5 additions & 1 deletion charts/prerequisites/Chart.yaml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ description: A Helm chart for packages that Datahub depends on
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.0.6
version: 0.0.7
dependencies:
- name: elasticsearch
version: 7.16.2
@@ -24,6 +24,10 @@ dependencies:
version: 8.5.4
repository: https://charts.bitnami.com/bitnami
condition: mysql.enabled
- name: postgresql
version: 11.2.2
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
# This chart deploys an enterprise version of kafka that requires commercial license
# Note, Schema registry and kafka rest proxy do not require the commercial license
- name: cp-helm-charts
6 changes: 6 additions & 0 deletions charts/prerequisites/values.yaml
Original file line number Diff line number Diff line change
@@ -56,6 +56,12 @@ mysql:
# For better security, add mysql-secrets k8s secret with mysql-root-password, mysql-replication-password and mysql-password
existingSecret: mysql-secrets

postgresql:
enabled: false
auth:
# For better security, add postgresql-secrets k8s secret with postgres-password, replication-password and password
existingSecret: postgresql-secrets

cp-helm-charts:
# Schema registry is under the community license
cp-schema-registry:

0 comments on commit d3099d0

Please sign in to comment.