funkwhale: Use app version as image tag
This commit is contained in:
parent
07aba6b95a
commit
7bbfe76f68
6 changed files with 12 additions and 5 deletions
|
@ -4,4 +4,4 @@ appVersion: "0.21"
|
||||||
description: A social platform to enjoy and share music
|
description: A social platform to enjoy and share music
|
||||||
icon: https://funkwhale.audio/favicon.png
|
icon: https://funkwhale.audio/favicon.png
|
||||||
name: funkwhale
|
name: funkwhale
|
||||||
version: 0.3.1
|
version: 0.3.2
|
||||||
|
|
|
@ -38,3 +38,10 @@ Create chart name and version as used by the chart label.
|
||||||
{{- define "funkwhale.chart" -}}
|
{{- define "funkwhale.chart" -}}
|
||||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the correct image tag name
|
||||||
|
*/}}
|
||||||
|
{{- define "funkwhale.imageTag" -}}
|
||||||
|
{{- .Values.image.tag | default .Chart.AppVersion -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: celery-beat
|
- name: celery-beat
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ include "funkwhale.imageTag" . }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: worker
|
- name: worker
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ include "funkwhale.imageTag" . }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: funkwhale
|
- name: funkwhale
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ include "funkwhale.imageTag" . }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
---
|
---
|
||||||
image:
|
image:
|
||||||
repository: funkwhale/funkwhale
|
repository: funkwhale/funkwhale
|
||||||
tag: 0.21
|
# tag:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
|
|
Loading…
Reference in a new issue