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

Don't pass pgpassword to towel. #316

Merged
merged 1 commit into from
Jan 12, 2022
Merged
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
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 @@ -48,10 +48,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