Skip to content

Commit

Permalink
Add Baremetal Global Configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray committed Aug 28, 2024
1 parent 640dbe2 commit cf9c7d7
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 cf9c7d7

Please sign in to comment.