openstack-helm/glance/templates/_helpers.tpl
DTadrzak ba37e1cabe Adding support for glance serivce.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2016-12-06 17:21:39 +01:00

6 lines
382 B
Smarty

{{- define "joinListWithColon" -}}
{{ range $k, $v := . }}{{ if $k }},{{ end }}{{ $v }}{{ end }}
{{- end -}}
{{ define "keystone_auth" }}auth: "{'auth_url':'{{ .Values.keystone.auth_url }}', 'username':'{{ .Values.keystone.admin_user }}','password':'{{ .Values.keystone.admin_password }}','project_name':'{{ .Values.keystone.admin_project_name }}','domain_name':'default'}"{{end}}