Fix harcoded image pull policy in hub deployment (#2793)

Related to #2791

Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
This commit is contained in:
Sergio Castaño Arteaga 2023-02-20 10:59:11 +01:00 committed by GitHub
parent 3d293189d5
commit 98fd72025c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: artifact-hub
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.
type: application
version: 1.12.1-5
version: 1.12.1-6
appVersion: 1.12.0
kubeVersion: ">= 1.19.0-0"
home: https://artifacthub.io

View File

@ -41,7 +41,7 @@ spec:
{{- if .Release.IsInstall }}
- name: check-db-migrator-run
image: "{{ .Values.hub.deploy.initContainers.checkDbMigrator.image.repository }}:{{ .Values.hub.deploy.initContainers.checkDbMigrator.image.tag | default (include "chart.KubernetesVersion" . ) }}"
imagePullPolicy: IfNotPresent
imagePullPolicy: {{ .Values.pullPolicy }}
{{- with .Values.hub.deploy.initContainers.checkDbMigrator.resources }}
resources:
{{- toYaml . | nindent 12 }}