Commit 2bc6d4d 1 parent 1e0110d commit 2bc6d4d Copy full SHA for 2bc6d4d
File tree 4 files changed +6
-3
lines changed
4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,6 @@ annotations:
34
34
url: https://github.com/YOURLS/charts
35
35
- name: Upstream Project
36
36
url: https://github.com/YOURLS/YOURLS
37
+ artifacthub.io/changes : |
38
+ - Add Helm Provenance Signature
39
+ - YOURLS Docker image tag now follows chart app version
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Return the proper YOURLS image name
29
29
{ {- define " yourls.image" -} }
30
30
{ {- $registryName := .Values.image.registry -} }
31
31
{ {- $repositoryName := .Values.image.repository -} }
32
- { {- $tag := .Values.image.tag | toString -} }
32
+ { {- $tag := .Values.image.tag | default .Chart.AppVersion | toString -} }
33
33
{ {/*
34
34
Helm 2.11 supports the assignment of a value to a variable defined in a different scope,
35
35
but Helm 2.9 and 2.10 doesn' t support it, so we need to implement this if-else logic.
Original file line number Diff line number Diff line change 21
21
"tag" : {
22
22
"title" : " YOURLS image tag" ,
23
23
"type" : " string" ,
24
- "default" : " 1.8.1 "
24
+ "default" : " {{ .Chart.AppVersion }} "
25
25
},
26
26
"pullPolicy" : {
27
27
"title" : " Image pull policy" ,
Original file line number Diff line number Diff line change 1
1
image :
2
2
registry : docker.io
3
3
repository : yourls
4
- tag : 1.8.1
4
+ # tag: {{ .Chart.Version }}
5
5
pullPolicy : IfNotPresent
6
6
# pullSecrets:
7
7
# - myRegistrKeySecretName
You can’t perform that action at this time.
0 commit comments