mirror of
https://github.com/truecharts/charts.git
synced 2026-07-16 08:21:21 -03:00
fix(common): Copy ixChartContext.storageClassName to child charts
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 8.3.11
|
||||
version: 8.3.12
|
||||
|
||||
@@ -37,5 +37,12 @@ type: Opaque
|
||||
{{- $_ := set .Values.postgresql.url "complete" ( ( printf "postgresql://%v:%v@%v-postgresql:5432/%v" .Values.postgresql.postgresqlUsername $dbPass .Release.Name .Values.postgresql.postgresqlDatabase ) | quote ) }}
|
||||
{{- $_ := set .Values.postgresql.url "jdbc" ( ( printf "jdbc:postgresql://%v-postgresql:5432/%v" .Release.Name .Values.postgresql.postgresqlDatabase ) | quote ) }}
|
||||
|
||||
{{/*
|
||||
Also inject the storageClassName into the child chart
|
||||
*/}}
|
||||
{{- if .Values.ixChartContext }}
|
||||
{{- $_ := set .Values.postgresql "ixChartContext" ( dict "storageClassName" ".Values.ixChartContext.storageClassName" ) }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user