Add configurations for helm/tiller sql storage backend
This adds two parameters to the armada and tiller charts to allow to configure sql storage backend [0]. [0]: https://v2.helm.sh/docs/install/#sql-storage-backend Change-Id: Iba621c4ebcb0e34d514358ac5970697e2215166c Signed-off-by: Angie Wang <angie.wang@windriver.com>
This commit is contained in:
parent
598f288f7b
commit
b0980f7a87
@ -170,6 +170,10 @@ spec:
|
|||||||
- /tiller
|
- /tiller
|
||||||
{{- if .Values.conf.tiller.storage }}
|
{{- if .Values.conf.tiller.storage }}
|
||||||
- --storage={{ .Values.conf.tiller.storage }}
|
- --storage={{ .Values.conf.tiller.storage }}
|
||||||
|
{{- if and (eq .Values.conf.tiller.storage "sql") (.Values.conf.tiller.sql_dialect) (.Values.conf.tiller.sql_connection) }}
|
||||||
|
- --sql-dialect={{ .Values.conf.tiller.sql_dialect }}
|
||||||
|
- --sql-connection-string={{ .Values.conf.tiller.sql_connection }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- -listen
|
- -listen
|
||||||
- ":{{ .Values.conf.tiller.port }}"
|
- ":{{ .Values.conf.tiller.port }}"
|
||||||
|
@ -211,6 +211,9 @@ conf:
|
|||||||
verbosity: 5
|
verbosity: 5
|
||||||
trace: false
|
trace: false
|
||||||
storage: null
|
storage: null
|
||||||
|
# Only postgres is supported so far
|
||||||
|
sql_dialect: postgres
|
||||||
|
sql_connection: null
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
# Limit the maximum number of revisions saved per release. 0 for no limit.
|
# Limit the maximum number of revisions saved per release. 0 for no limit.
|
||||||
history_max: 0
|
history_max: 0
|
||||||
|
@ -98,6 +98,10 @@ spec:
|
|||||||
- /tiller
|
- /tiller
|
||||||
{{- if .Values.conf.tiller.storage }}
|
{{- if .Values.conf.tiller.storage }}
|
||||||
- --storage={{ .Values.conf.tiller.storage }}
|
- --storage={{ .Values.conf.tiller.storage }}
|
||||||
|
{{- if and (eq .Values.conf.tiller.storage "sql") (.Values.conf.tiller.sql_dialect) (.Values.conf.tiller.sql_connection) }}
|
||||||
|
- --sql-dialect={{ .Values.conf.tiller.sql_dialect }}
|
||||||
|
- --sql-connection-string={{ .Values.conf.tiller.sql_connection }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- -listen
|
- -listen
|
||||||
- ":{{ .Values.conf.tiller.port }}"
|
- ":{{ .Values.conf.tiller.port }}"
|
||||||
|
@ -45,6 +45,9 @@ conf:
|
|||||||
tiller:
|
tiller:
|
||||||
verbosity: 5
|
verbosity: 5
|
||||||
storage: null
|
storage: null
|
||||||
|
# Only postgres is supported so far
|
||||||
|
sql_dialect: postgres
|
||||||
|
sql_connection: null
|
||||||
trace: false
|
trace: false
|
||||||
# Note: Defaulting to the (default) kubernetes grace period, as anything
|
# Note: Defaulting to the (default) kubernetes grace period, as anything
|
||||||
# greater than that will have no effect.
|
# greater than that will have no effect.
|
||||||
|
Loading…
Reference in New Issue
Block a user