From 0ff2beee30f5380b4a5c1e7fec399680e70af8fe Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Fri, 11 Sep 2020 18:48:03 -0400 Subject: [PATCH] neutron: fix default value for tungsten fabric The lack of quotes means if it defaults to nothing, Kubernetes is not happy because it is trying to set a nil value instead of an empty string. Change-Id: I7af08b93a4df92acd9d428266aaa7922a66cf599 --- neutron/templates/configmap-etc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/templates/configmap-etc.yaml b/neutron/templates/configmap-etc.yaml index ec1aa68467..f3ccd5ac15 100644 --- a/neutron/templates/configmap-etc.yaml +++ b/neutron/templates/configmap-etc.yaml @@ -270,8 +270,8 @@ data: sriov_agent.ini: {{ include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.plugins.sriov_agent | b64enc }} l2gw_agent.ini: {{ default "\"\"" (include "helm-toolkit.utils.to_oslo_conf" .Values.conf.l2gateway_agent | b64enc) }} bagpipe_bgp.conf: {{ default "\"\"" (include "helm-toolkit.utils.to_oslo_conf" .Values.conf.bagpipe_bgp | b64enc) }} - tf_plugin.ini: {{ include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.plugins.tungstenfabric | b64enc }} - vnc_api_lib.ini: {{ include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.plugins.tf_vnc_api_lib | b64enc }} + tf_plugin.ini: {{ default "\"\"" (include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.plugins.tungstenfabric | b64enc) }} + vnc_api_lib.ini: {{ default "\"\"" (include "helm-toolkit.utils.to_oslo_conf" $envAll.Values.conf.plugins.tf_vnc_api_lib | b64enc) }} dnsmasq.conf: "" neutron_sudoers: {{ $envAll.Values.conf.neutron_sudoers | b64enc }} rootwrap.conf: {{ $envAll.Values.conf.rootwrap | b64enc }}