Add configuration for tiller storage

This adds a parameter to the armada and tiller charts
to configure the tiller storage [0] type. For backward
compatibility, by default the parameter is not passed
to tiller, thus relying on the upstream default, which
is 'configmap'.

[0]: https://helm.sh/docs/using_helm/#tiller-s-release-information

Change-Id: I5d2a7558e3847331a0ce95c15b2e741f96130674
This commit is contained in:
Sean Eagan 2019-09-20 13:58:04 -05:00
parent 4e76d15eda
commit 6c97853c26
4 changed files with 8 additions and 0 deletions

View File

@ -152,6 +152,9 @@ spec:
value: {{ .Values.conf.tiller.history_max | quote }}
command:
- /tiller
{{- if .Values.conf.tiller.storage }}
- --storage={{ .Values.conf.tiller.storage | quote }}
{{- end }}
- -logtostderr
- -v
- {{ .Values.conf.tiller.verbosity | quote }}

View File

@ -209,6 +209,7 @@ conf:
port: 44134
verbosity: 5
trace: false
storage: null
namespace: kube-system
# Limit the maximum number of revisions saved per release. 0 for no limit.
history_max: 0

View File

@ -75,6 +75,9 @@ spec:
value: {{ .Values.deployment.tiller_history | quote }}
command:
- /tiller
{{- if .Values.conf.tiller.storage }}
- --storage={{ .Values.conf.tiller.storage | quote }}
{{- end }}
- -logtostderr
- -v
- {{ .Values.conf.tiller.verbosity | quote }}

View File

@ -44,6 +44,7 @@ deployment:
conf:
tiller:
verbosity: 5
storage: null
trace: false
# Note: Defaulting to the (default) kubernetes grace period, as anything
# greater than that will have no effect.