Made dnsmasq.conf overridable in configmap-etc secret

As dnsmasq.conf data in configmap-etc secret was empty, there was no option
to override it. Added the section in the values.yaml file where the dnsmasq.conf
config can be added which will be reflected in dhcp-agent.

Change-Id: If11c33f6f837dbf0d16e54cc92cabf399e773968
This commit is contained in:
xuxant02@gmail.com 2021-07-01 22:33:19 +05:45
parent 27e12b88ad
commit ee0c142748
4 changed files with 20 additions and 2 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Neutron
name: neutron
version: 0.2.6
version: 0.2.7
home: https://docs.openstack.org/neutron/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources:

View File

@ -272,7 +272,7 @@ data:
bagpipe_bgp.conf: {{ default "\"\"" (include "helm-toolkit.utils.to_oslo_conf" .Values.conf.bagpipe_bgp | 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: ""
dnsmasq.conf: "{{ $envAll.Values.conf.dnsmasq | b64enc }}"
neutron_sudoers: {{ $envAll.Values.conf.neutron_sudoers | b64enc }}
rootwrap.conf: {{ $envAll.Values.conf.rootwrap | b64enc }}
auto_bridge_add: {{ toJson $envAll.Values.conf.auto_bridge_add | b64enc }}

View File

@ -2055,6 +2055,23 @@ conf:
interface_driver: null
dnsmasq_config_file: /etc/neutron/dnsmasq.conf
force_metadata: True
dnsmasq: |
#no-hosts
#port=5353
#cache-size=500
#no-negcache
#dns-forward-max=100
#resolve-file=
#strict-order
#bind-interface
#bind-dynamic
#domain=
#dhcp-range=10.10.10.10,10.10.10.100,24h
#dhcp-lease-max=150
#dhcp-host=11:22:33:44:55:66,ignore
#dhcp-option=3,10.10.10.1
#dhcp-option-force=26,1450
l3_agent:
DEFAULT:
# (NOTE)portdirect: if unset this is populated dyanmicly from the value in

View File

@ -20,4 +20,5 @@ neutron:
- 0.2.4 Add Ussuri release support
- 0.2.5 Use rootwrap daemon
- 0.2.6 Fix neutron agent-init script
- 0.2.7 Made dnsmasq.conf overridable in configmap-bin
...