File tree 5 files changed +27
-1
lines changed
charts/sophora-image-access-service
5 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 1.0.1
18
+ version : 1.1.0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -60,3 +60,16 @@ Create the name of the service account to use
60
60
{ {- default " default" .Values.serviceAccount.name } }
61
61
{ {- end } }
62
62
{ {- end } }
63
+
64
+ { {/*
65
+ Renders a value that contains template.
66
+ Usage:
67
+ {{ include " common.tplvalues.render" ( dict " value" .Values.path.to.the.Value " context" $) } }
68
+ */}}
69
+ { {- define " common.tplvalues.render" -} }
70
+ { {- if typeIs " string" .value } }
71
+ { {- tpl .value .context } }
72
+ { {- else } }
73
+ { {- tpl (.value | toYaml) .context } }
74
+ { {- end } }
75
+ { {- end -} }
Original file line number Diff line number Diff line change
1
+ {{- range .Values.extraDeploy }}
2
+ ---
3
+ {{ include "common.tplvalues.render" (dict "value" . "context" $) }}
4
+ {{- end }}
5
+
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ ingress:
37
37
annotations : {}
38
38
hosts :
39
39
tls : []
40
+
41
+ extraDeploy :
42
+ - apiVersion : subshell/v2
Original file line number Diff line number Diff line change @@ -100,3 +100,8 @@ livenessProbe:
100
100
initialDelaySeconds : 1
101
101
timeoutSeconds : 3
102
102
periodSeconds : 60
103
+
104
+ # # @section Extra Deploy
105
+ # #
106
+ # # @param extraDeploy Allows to specify custom resources that should be deployed
107
+ extraDeploy : []
You can’t perform that action at this time.
0 commit comments