mirror of https://github.com/artifacthub/hub.git
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:
parent
3d293189d5
commit
98fd72025c
|
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: artifact-hub
|
name: artifact-hub
|
||||||
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.
|
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Kubernetes packages.
|
||||||
type: application
|
type: application
|
||||||
version: 1.12.1-5
|
version: 1.12.1-6
|
||||||
appVersion: 1.12.0
|
appVersion: 1.12.0
|
||||||
kubeVersion: ">= 1.19.0-0"
|
kubeVersion: ">= 1.19.0-0"
|
||||||
home: https://artifacthub.io
|
home: https://artifacthub.io
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ spec:
|
||||||
{{- if .Release.IsInstall }}
|
{{- if .Release.IsInstall }}
|
||||||
- name: check-db-migrator-run
|
- name: check-db-migrator-run
|
||||||
image: "{{ .Values.hub.deploy.initContainers.checkDbMigrator.image.repository }}:{{ .Values.hub.deploy.initContainers.checkDbMigrator.image.tag | default (include "chart.KubernetesVersion" . ) }}"
|
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 }}
|
{{- with .Values.hub.deploy.initContainers.checkDbMigrator.resources }}
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue