From c872c1b8e7b7f92da8f29526d07a1559caf7eefc Mon Sep 17 00:00:00 2001 From: Oguzhan Yilmaz Date: Fri, 18 Oct 2024 20:03:37 +0300 Subject: [PATCH] move env vars from powerpipe to steampipe --- helm-chart/templates/powerpipe-secret-env-vars.yaml | 5 ----- helm-chart/templates/steampipe-secret-env-vars.yaml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm-chart/templates/powerpipe-secret-env-vars.yaml b/helm-chart/templates/powerpipe-secret-env-vars.yaml index a71d548..0b38e1d 100644 --- a/helm-chart/templates/powerpipe-secret-env-vars.yaml +++ b/helm-chart/templates/powerpipe-secret-env-vars.yaml @@ -6,11 +6,6 @@ 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 }} diff --git a/helm-chart/templates/steampipe-secret-env-vars.yaml b/helm-chart/templates/steampipe-secret-env-vars.yaml index 5ff7e06..c5746fd 100644 --- a/helm-chart/templates/steampipe-secret-env-vars.yaml +++ b/helm-chart/templates/steampipe-secret-env-vars.yaml @@ -6,6 +6,11 @@ metadata: {{- include "steampipe.labels" . | nindent 4 }} stringData: STEAMPIPE_DATABASE_PASSWORD: {{ .Values.global.steampipeDatabasePassword }} + PGDATABASE: "steampipe" + PGHOST: "127.0.0.1" + PGPASSWORD: {{ .Values.global.steampipeDatabasePassword }} + PGUSER: "steampipe" + PGPORT: "9193" {{- if .Values.powerpipe.secretEnvVars }} {{- toYaml .Values.steampipe.secretEnvVars | nindent 2 }} {{- end }}