Kaynağa Gözat

fix(vaultwarden): pass ixChartContext to postgres template (#1991)

Stavros Kois 1 yıl önce
ebeveyn
işleme
b3f86c948f

+ 1 - 1
library/ix-dev/community/vaultwarden/Chart.yaml

@@ -3,7 +3,7 @@ description: Alternative implementation of the Bitwarden server API written in R
 annotations:
   title: Vaultwarden
 type: application
-version: 1.1.5
+version: 1.1.6
 apiVersion: v2
 appVersion: 1.30.1
 kubeVersion: '>=1.16.0-0'

+ 3 - 1
library/ix-dev/community/vaultwarden/templates/_postgres.tpl

@@ -1,7 +1,9 @@
 {{- define "postgres.workload" -}}
 {{/* Postgres Database */}}
 workload:
-{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds" "resources" .Values.resources) | nindent 2 }}
+{{- include "ix.v1.common.app.postgres" (dict "secretName" "postgres-creds"
+                                              "resources" .Values.resources
+                                              "ixChartContext" .Values.ixChartContext) | nindent 2 }}
 
 {{/* Service */}}
 service: