From b867375a9e298c21019a078e5ed4c12f64aebec5 Mon Sep 17 00:00:00 2001 From: Kamal Acharya Date: Fri, 30 Jun 2023 18:25:10 +0530 Subject: [PATCH] changes in values.yaml --- charts/clair/templates/deployment.yaml | 2 +- charts/clair/values.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/clair/templates/deployment.yaml b/charts/clair/templates/deployment.yaml index 12342a15..402ed6c7 100644 --- a/charts/clair/templates/deployment.yaml +++ b/charts/clair/templates/deployment.yaml @@ -38,7 +38,7 @@ spec: {{- end }} initContainers: - name: pg-ready-wait - image: postgres:11.3 + image: "{{ .Values.postgres.image.repository}}:{{ .Values.postgres.image.tag}}" command: [ "sh", "-c", "until pg_isready -h {{ .Values.config.postgresHost }} -p {{ .Values.config.postgresPort }}; do echo waiting for database; sleep 1; done;"] diff --git a/charts/clair/values.yaml b/charts/clair/values.yaml index e0b207c9..751f9639 100644 --- a/charts/clair/values.yaml +++ b/charts/clair/values.yaml @@ -68,3 +68,8 @@ extraEnv: - name: CLAIR_MODE value: combo extraArgs: [] + +postgres: + image: + repository: quay.io/devtron/postgres + tag: 11.9