Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Postgres DB chart changed to Bitnami Postgres chart. #12

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,6 @@ Chart.lock
*.key
*.p12
*.jks

# Packages
*.tgz
11 changes: 7 additions & 4 deletions k8s/helm/tngkds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ version: 0.1.0
appVersion: "1.16.0"

dependencies:
- name: tngkds-postgres
condition: global.tngkds_postgres.enabled
version: 0.1.0
- name: postgresql
version: 13.2.5
repository: https://charts.bitnami.com/bitnami
condition: global.tngkds-postgres.enabled, tngkds-postgres.enabled
alias: tngkds-postgres
- name: tngkds-backend
condition: global.tngkds_backend.enabled
condition: global.tngkds_backend.enabled, tngkds_backend.enabled
version: 0.1.0
alias: tngkds-backend
7 changes: 4 additions & 3 deletions k8s/helm/tngkds/charts/tngkds-backend/templates/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "tngkds-backend.fullname" . }}-secret
stringData:
pgUser: "postgres"
pgPassword: "postgres"
type: Opaque
data:
pgUser: {{ "postgres" | b64enc }}
pgPassword: {{ "postgres" | b64enc }}
110 changes: 0 additions & 110 deletions k8s/helm/tngkds/charts/tngkds-backend/values-local.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion k8s/helm/tngkds/charts/tngkds-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ affinity: {}

# Postgres
psql:
serviceName: postgres
serviceName: tngkds-tngkds-postgres
port: 5432
dbName: postgres
cluster: svc.cluster.local
Expand Down
23 changes: 0 additions & 23 deletions k8s/helm/tngkds/charts/tngkds-postgres/.helmignore

This file was deleted.

24 changes: 0 additions & 24 deletions k8s/helm/tngkds/charts/tngkds-postgres/Chart.yaml

This file was deleted.

46 changes: 0 additions & 46 deletions k8s/helm/tngkds/charts/tngkds-postgres/templates/_helpers.tpl

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions k8s/helm/tngkds/charts/tngkds-postgres/templates/pv-claim.yaml

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions k8s/helm/tngkds/charts/tngkds-postgres/templates/service.yaml

This file was deleted.

Loading
Loading