Skip to content

Commit

Permalink
Merge pull request #316 from novotl/remove-lonely-pg-password
Browse files Browse the repository at this point in the history
Don't pass pgpassword to towel.
  • Loading branch information
zanieb authored Jan 12, 2022
2 parents 93f7b45 + 00a0ab4 commit b0f387e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions changes/pr316.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
fix:
- "Remove PGPASSWORD from towel helm chart. - [#316](https://github.com/PrefectHQ/server/pull/316)"
5 changes: 1 addition & 4 deletions helm/prefect-server/templates/towel/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ spec:
- src/prefect_server/services/towel/__main__.py
env:
- name: PREFECT_SERVER__HASURA__HOST
value: {{ include "prefect-server.hasura-hostname" . }}
- name: PGPASSWORD
valueFrom:
{{- include "prefect-server.postgres-secret-ref" . | nindent 16 }}
value: {{ include "prefect-server.hasura-hostname" . }}
{{- with .Values.towel.env }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit b0f387e

Please sign in to comment.