From c77553f53e7aa0d0d2066c6f809c8301b185901e Mon Sep 17 00:00:00 2001 From: Oguzhan Yilmaz Date: Fri, 18 Oct 2024 15:24:40 +0300 Subject: [PATCH] add steampipe inner postgres env vars --- helm-chart/templates/powerpipe-secret-env-vars.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helm-chart/templates/powerpipe-secret-env-vars.yaml b/helm-chart/templates/powerpipe-secret-env-vars.yaml index 0b38e1d..a71d548 100644 --- a/helm-chart/templates/powerpipe-secret-env-vars.yaml +++ b/helm-chart/templates/powerpipe-secret-env-vars.yaml @@ -6,6 +6,11 @@ metadata: {{- include "powerpipe.labels" . | nindent 4 }} stringData: POWERPIPE_DATABASE: postgres://steampipe:{{ .Values.global.steampipeDatabasePassword }}@{{ include "steampipe.fullname" . }}:9193/steampipe + PGDATABASE: "steampipe" + PGHOST: "127.0.0.1" + PGPASSWORD: {{ .Values.global.steampipeDatabasePassword }} + PGUSER: "steampipe" + PGPORT: "9193" {{- if .Values.powerpipe.secretEnvVars }} {{- toYaml .Values.powerpipe.secretEnvVars | nindent 2 }} {{- end }}