Skip to content

Commit 5f24ee0

Browse files
committed
Revert "refactor: template NFD image with .Chart.Version"
This reverts commit 718a4ad.
1 parent 93c227f commit 5f24ee0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

charts/cluster-api-runtime-extensions-nutanix/templates/nfd/manifests/helm-addon-installation.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ metadata:
88
name: '{{ .Values.hooks.nfd.helmAddonStrategy.defaultValueTemplateConfigMap.name }}'
99
data:
1010
values.yaml: |-
11-
image:
12-
tag: v{{ .Chart.Version }}-minimal
1311
master:
1412
extraLabelNs:
1513
- nvidia.com

pkg/handlers/generic/lifecycle/nfd/strategy_helmaddon.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ func (s helmAddonStrategy) apply(
6666
)
6767
}
6868

69+
values += fmt.Sprintf(`
70+
image:
71+
tag: v%s-minimal
72+
`, s.helmChart.Version)
73+
6974
hcp := &caaphv1.HelmChartProxy{
7075
TypeMeta: metav1.TypeMeta{
7176
APIVersion: caaphv1.GroupVersion.String(),

0 commit comments

Comments
 (0)