Skip to content

Commit

Permalink
Merge pull request #4 from unikorn-cloud/add_baremetal
Browse files Browse the repository at this point in the history
Add Baremetal Global Configuraiton
  • Loading branch information
spjmurray authored Aug 28, 2024
2 parents 640dbe2 + cf9c7d7 commit 564999a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/unikorn-common/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ description: Unikorn common templates to keep dependent charts in check.

type: application

version: v0.1.8
version: v0.1.9

icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png
8 changes: 8 additions & 0 deletions charts/unikorn-common/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,14 @@ 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 }}
{{- else }}
{{- .Values.baremetal.host }}
{{- end }}
{{- end }}
{{/*
Unified service flags.
As all components use the same client libraries, they have the same flags.
Expand Down

0 comments on commit 564999a

Please sign in to comment.