385a8a099e
* start.sh was added back, which had requiring sourcing * the naming convention for charts is finalized with this example landing on configmap-*.yaml to satisfy those of us with OCD * imagePullPolicies added for init-containers, required by helm 2.1.0 which does not supply them by default
16 lines
1.0 KiB
Smarty
16 lines
1.0 KiB
Smarty
# fqdn
|
|
{{- define "region"}}cluster{{- end}}
|
|
{{- define "tld"}}local{{- end}}
|
|
|
|
# infrastructure services
|
|
{{- define "rabbitmq_host"}}rabbitmq.{{.Release.Namespace}}.svc.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|
|
{{- define "memcached_host"}}memcached.{{.Release.Namespace}}.svc.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|
|
{{- define "mariadb_host"}}mariadb.{{.Release.Namespace}}.svc.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|
|
|
|
# keystone
|
|
{{- define "keystone_db_host"}}{{ include "mariadb_host" . }}{{- end}}
|
|
{{- define "keystone_api_endpoint_host_admin"}}keystone-api.{{.Release.Namespace}}.svc.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|
|
{{- define "keystone_api_endpoint_host_internal"}}keystone-api.{{.Release.Namespace}}.svc.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|
|
{{- define "keystone_api_endpoint_host_public"}}keystone-api.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|
|
{{- define "keystone_api_endpoint_host_admin_ext"}}keystone-api.{{ include "region" . }}.{{ include "tld" . }}{{- end}}
|