From 5b17eb70596e70f7f05c54f61a4f844d3422f9df Mon Sep 17 00:00:00 2001 From: Simon Murray Date: Thu, 3 Oct 2024 09:13:29 +0100 Subject: [PATCH] Rename Baremetal... ...to compute as it's not a major stretch of the imagination to allow normal VM flavors alongside baremetal ones. --- charts/unikorn-common/Chart.yaml | 2 +- charts/unikorn-common/templates/_helpers.tpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/unikorn-common/Chart.yaml b/charts/unikorn-common/Chart.yaml index 1017dbf..6826459 100644 --- a/charts/unikorn-common/Chart.yaml +++ b/charts/unikorn-common/Chart.yaml @@ -4,6 +4,6 @@ description: Unikorn common templates to keep dependent charts in check. type: application -version: v0.1.10 +version: v0.1.11 icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png diff --git a/charts/unikorn-common/templates/_helpers.tpl b/charts/unikorn-common/templates/_helpers.tpl index 33e6f72..e4ad774 100644 --- a/charts/unikorn-common/templates/_helpers.tpl +++ b/charts/unikorn-common/templates/_helpers.tpl @@ -237,11 +237,11 @@ are predictable, and less likely to break. {{- end }} {{- end }} -{{- define "unikorn.baremetal.host" -}} -{{- if (and .Values.global .Values.global.baremetal .Values.global.baremetal.host) -}} -{{- .Values.global.baremetal.host }} +{{- define "unikorn.compute.host" -}} +{{- if (and .Values.global .Values.global.compute .Values.global.compute.host) -}} +{{- .Values.global.compute.host }} {{- else }} -{{- .Values.baremetal.host }} +{{- .Values.compute.host }} {{- end }} {{- end }}