feat: Update image tag management mechanisms (#495)

This commit is contained in:
Kent Dong
2023-08-19 10:40:04 +08:00
committed by GitHub
parent 02b98dc4d8
commit 8b24a20651
2 changed files with 4 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ spec:
{{- if contains "/" .Values.pilot.image }}
image: "{{ .Values.pilot.image }}"
{{- else }}
image: "{{ .Values.pilot.hub | default .Values.global.hub }}/{{ .Values.pilot.image | default "pilot" }}:{{ .Values.pilot.tag | default .Values.global.tag }}"
image: "{{ .Values.pilot.hub | default .Values.global.hub }}/{{ .Values.pilot.image | default "pilot" }}:{{ .Values.pilot.tag | default .Chart.AppVersion }}"
{{- end }}
{{- if .Values.global.imagePullPolicy }}
imagePullPolicy: {{ .Values.global.imagePullPolicy }}

View File

@@ -44,8 +44,6 @@ global:
# Releases are published to docker hub under 'istio' project.
# Dev builds from prow are on gcr.io
hub: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress
# Default tag for Istio images.
tag: 1.1.1
# Specify image pull policy if default behavior isn't desired.
# Default behavior: latest images will be Always else IfNotPresent.
@@ -369,7 +367,7 @@ gateway:
name: "higress-gateway"
replicas: 2
image: gateway
tag: "1.1.1"
tag: ""
# revision declares which revision this gateway is a part of
revision: ""
@@ -457,7 +455,7 @@ controller:
name: "higress-controller"
replicas: 1
image: higress
tag: "1.1.1"
tag: ""
env: {}
labels: {}
@@ -547,7 +545,7 @@ pilot:
rollingMaxUnavailable: 25%
hub: higress-registry.cn-hangzhou.cr.aliyuncs.com/higress
tag: 1.1.1
tag: ""
# Can be a full hub/image:tag
image: pilot