File tree 6 files changed +30
-1
lines changed
6 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : authelia
3
- version : 0.9.11
3
+ version : 0.9.12
4
4
kubeVersion : " >= 1.13.0-0"
5
5
description : Authelia is a Single Sign-On Multi-Factor portal for web apps
6
6
type : application
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ This documents the parameters in the chart values. As the chart values are quite
94
94
| pod.kind | Configures the kind of pod: StatefulSet, Deployment, DaemonSet | DaemonSet |
95
95
| pod.annotations | Adds annotations specifically to the pod | {} |
96
96
| pod.labels | Adds labels specifically to the pod | {} |
97
+ | pod.initContainers | Adds additional init containers specifically to the pod | [ ] |
97
98
| pod.replicas | Configures the replicas for Deployment's/statefulSet's | 1 |
98
99
| pod.revisionHistoryLimit | Configures the revisionHistoryLimit | 1 |
99
100
| pod.strategy.type | Configures the pods strategy/updateStrategy type | RollingUpdate |
Original file line number Diff line number Diff line change @@ -476,6 +476,19 @@ Renders a probe
476
476
{ {- end -} }
477
477
{ {- end -} }
478
478
479
+ { {/*
480
+ Renders a value that contains template.
481
+ Usage:
482
+ {{ include " authelia.snippets.render" ( dict " value" .Values.path.to.the.Value " context" $) } }
483
+ */}}
484
+ { {- define " authelia.snippets.render" -} }
485
+ { {- if typeIs " string" .value } }
486
+ { {- tpl .value .context } }
487
+ { {- else } }
488
+ { {- tpl (.value | toYaml) .context } }
489
+ { {- end } }
490
+ { {- end -} }
491
+
479
492
{ {/*
480
493
Returns the service port.
481
494
*/} }
Original file line number Diff line number Diff line change 82
82
serviceAccountName : {{ default (include "authelia.name" .) .Values.rbac.serviceAccountName }}
83
83
{{- end }}
84
84
enableServiceLinks : {{ .Values.pod.enableServiceLinks | default false }}
85
+ {{- if .Values.pod.initContainers }}
86
+ initContainers : {{- include "authelia.snippets.render" (dict "value" .Values.pod.initContainers "context" $) | nindent 8 }}
87
+ {{- end }}
85
88
containers :
86
89
- name : authelia
87
90
image : {{ include "authelia.image" . }}
Original file line number Diff line number Diff line change @@ -238,6 +238,12 @@ pod:
238
238
# Modifies the args for the command. Useful for debugging.
239
239
args : []
240
240
241
+ initContainers : []
242
+ # initContainers:
243
+ # - name: myapp-init
244
+ # image: busybox:1.36
245
+ # command: ['sh', '-c', 'echo The app is starting! && sleep 5']
246
+
241
247
replicas : 1
242
248
revisionHistoryLimit : 5
243
249
priorityClassName : ' '
Original file line number Diff line number Diff line change @@ -233,6 +233,12 @@ pod:
233
233
# Modifies the args for the command. Useful for debugging.
234
234
args : []
235
235
236
+ initContainers : []
237
+ # initContainers:
238
+ # - name: myapp-init
239
+ # image: busybox:1.36
240
+ # command: ['sh', '-c', 'echo The app is starting! && sleep 5']
241
+
236
242
replicas : 1
237
243
revisionHistoryLimit : 5
238
244
priorityClassName : ' '
You can’t perform that action at this time.
0 commit comments