Skip to content

Commit

Permalink
feat: reader and writer uri options for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgaOzen committed May 13, 2024
1 parent ce8853f commit 6b02eb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/permify/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ description: Helm charts for deploying and managing Permify in Kubernetes enviro
type: application

# The version of the Helm chart.
version: 0.2.7
version: 0.2.8

# The specific application version that this Helm chart is designed to deploy.
appVersion: "v0.8.2"
appVersion: "v0.8.5"

# Keywords associated with the Helm chart for searchability.
keywords:
Expand Down
10 changes: 10 additions & 0 deletions charts/permify/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,16 @@ spec:
key: "uri"
{{- end }}

{{- if .Values.app.database.writer.uri }}
- name: PERMIFY_DATABASE_WRITER_URI
value: "{{ .Values.app.database.writer.uri }}"
{{- end }}

{{- if .Values.app.database.reader.uri }}
- name: PERMIFY_DATABASE_READER_URI
value: "{{ .Values.app.database.reader.uri }}"
{{- end }}

{{- if .Values.app.database.auto_migrate }}
- name: PERMIFY_DATABASE_AUTO_MIGRATE
value: "{{ .Values.app.database.auto_migrate }}"
Expand Down

0 comments on commit 6b02eb9

Please sign in to comment.