mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 15:09:14 -03:00
more fixes
This commit is contained in:
@@ -69,13 +69,4 @@ spec:
|
||||
inProgress: false
|
||||
reusePVC: on
|
||||
|
||||
# externalClusters:
|
||||
# - name: old-db
|
||||
# connectionParameters:
|
||||
# host: somehost
|
||||
# user: postgres
|
||||
# password:
|
||||
# name: somepass-superuser
|
||||
# key: password
|
||||
|
||||
{{- end -}}
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
{{- include "tc.v1.common.class.cnpg.pooler" $ }}
|
||||
{{- end }}
|
||||
|
||||
{{- $basename := include "tc.v1.common.lib.chart.names.fullname" $ }}
|
||||
{{- $fetchname := printf "%s-dbcreds" $basename }}
|
||||
|
||||
{{/* Inject the required secrets */}}
|
||||
{{- $dbPass := "" }}
|
||||
{{- $dbprevious := lookup "v1" "Secret" $.Release.Namespace ( printf "%s-user" $cnpgValues.name ) }}
|
||||
@@ -61,7 +58,6 @@
|
||||
{{- $_ := set $cnpgValues.creds "host" $host }}
|
||||
{{- $_ := set $cnpgValues.creds "jdbc" $jdbc }}
|
||||
|
||||
|
||||
{{- if $cnpgValues.monitoring }}
|
||||
{{- if $cnpgValues.monitoring.enablePodMonitor }}
|
||||
{{- $poolermetrics := include "tc.v1.common.lib.cnpg.metrics.pooler" (dict "poolerName" ( printf "%s-rw" $cnpgValues.name) ) | fromYaml }}
|
||||
|
||||
Reference in New Issue
Block a user