From e62e350c3fab3d848e106fadf2306f9502bc2282 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Tue, 11 Jun 2024 11:08:01 +0530 Subject: [PATCH] chore: address review comments --- chart/templates/deployment.yaml | 2 +- chart/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index ba1ebef9..d8422508 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: fsGroup: 1000 containers: - name: {{ include "config-db.name" . }} - image: "{{ tpl .Values.image.repository . }}/{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + image: "{{ tpl .Values.global.image.repository . }}/{{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} livenessProbe: failureThreshold: 3 diff --git a/chart/values.yaml b/chart/values.yaml index 1142d7cf..b9e2f0f5 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -2,6 +2,8 @@ # Declare variables to be passed into your templates. global: + image: + repository: docker.io/flanksource db: connectionPooler: enabled: false @@ -18,7 +20,6 @@ nameOverride: '' disablePostgrest: false image: - repository: docker.io/flanksource name: config-db pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion.