Ceph: update daemonset overrides to reference correct key

This PS updates the ceph daemonset over-rides function to
reference the correct key, rather than the chart name to
apply host/label specific configuration.

Change-Id: Id4004077a7cc0e7e4caceff6779165e8a7c3e6ef
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Renis 2018-06-22 13:53:09 -07:00 committed by Pete Birley
parent 2a82e49b49
commit 0ffa12abdb

View File

@ -22,7 +22,7 @@ limitations under the License.
{{- $context := index . 4 }}
{{- $_ := unset $context ".Files" }}
{{- $_ := set $context.Values "__daemonset_yaml" $daemonset_yaml }}
{{- $daemonset_root_name := printf (print $context.Chart.Name "_" $daemonset) }}
{{- $daemonset_root_name := printf "ceph_%s" $daemonset }}
{{- $_ := set $context.Values "__daemonset_list" list }}
{{- $_ := set $context.Values "__default" dict }}
{{- if hasKey $context.Values.conf "overrides" }}