diff --git a/plugins/fabrique/charts/pg/values.yaml b/plugins/fabrique/charts/pg/values.yaml index 8b6876e2ed..7f6eef86fc 100644 --- a/plugins/fabrique/charts/pg/values.yaml +++ b/plugins/fabrique/charts/pg/values.yaml @@ -13,7 +13,7 @@ cnpg-cluster: - {{ .Values.kontinuous.parentChart }}.jobs-pg ~tpl~dbOwner: "{{ .Values.global.pgUser }}" ~tpl~dbName: "{{ .Values.global.pgDatabase }}" - ~tpl~instances: "{{ (or .Values.global.isProd .Values.global.isPreProd) | ternary `3` `1` }}" + ~tpl~instances: "{{ or .Values.Parent.instances ((or .Values.global.isProd .Values.global.isPreProd) | ternary `3` `1`) }}" postgresqlParameters: TimeZone: "Europe/Paris" extensions: