Skip to content

Commit

Permalink
fix: kube-vip registry (#322)
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <poan.yang@suse.com>
FrankYang0529 authored Jan 9, 2025
1 parent 1c75fe5 commit 878cbc1
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/harvester-cloud-provider/Chart.yaml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ keywords:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.8
version: 0.2.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
@@ -31,7 +31,7 @@ annotations:
catalog.cattle.io/kube-version: '>= 1.23.0-0'
catalog.cattle.io/release-name: harvester-cloud-provider
catalog.cattle.io/os: linux
catalog.cattle.io/rancher-version: '>= 2.7.0-0 < 2.10.0-0'
catalog.cattle.io/rancher-version: '>= 2.7.0-0'
catalog.cattle.io/ui-component: harvester-cloud-provider
catalog.cattle.io/display-name: Harvester Cloud Provider
# The version of the upstream chart or app. It prevents the unexpected "downgrade"
Binary file modified charts/harvester-cloud-provider/charts/kube-vip-0.6.4.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -78,3 +78,14 @@ Convert string to boolean
{{- default . false -}}
{{- end -}}
{{- end -}}

{{/*
Global system default registry
*/}}
{{- define "system_default_registry" -}}
{{- if .Values.global.cattle.systemDefaultRegistry -}}
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
{{- else -}}
{{- "" -}}
{{- end -}}
{{- end -}}
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ spec:
envFrom:
{{- toYaml . | nindent 8 }}
{{- end }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
name: kube-vip
resources:

0 comments on commit 878cbc1

Please sign in to comment.