mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
feat: Release common version 1.4.0 (#130)
* fix(common):: Fix Integer style image tags (fixes #128) * feat(common): Reload pod on secret change (#129) * feat(common): Update code-server to v4.11.0 * fix(common): quote command and args strings (#124) * feat(common): Update gluetun to v3.33.0 --------- Signed-off-by: angelnu <git@angelnu.com> Signed-off-by: Maurits van Mastrigt <maurits@funda.nl> Co-authored-by: Angel Nunez Mencias <github@angelnu.com> Co-authored-by: Maurits <75321636+maurits-funda@users.noreply.github.com>
This commit is contained in:
parent
3ea1337d83
commit
923ef40a39
29 changed files with 297 additions and 115 deletions
|
@ -0,0 +1,15 @@
|
|||
{{/*
|
||||
Image used by the main container.
|
||||
*/}}
|
||||
{{- define "bjw-s.common.lib.container.image" -}}
|
||||
{{- $imageRepo := .Values.image.repository -}}
|
||||
{{- $imageTag := default .Chart.AppVersion .Values.image.tag -}}
|
||||
|
||||
{{- if kindIs "float64" .Values.image.tag -}}
|
||||
{{- $imageTag = .Values.image.tag | toString -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- if and $imageRepo $imageTag -}}
|
||||
{{- printf "%s:%s" $imageRepo $imageTag -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
Loading…
Add table
Add a link
Reference in a new issue