diff --git a/openvswitch/Chart.yaml b/openvswitch/Chart.yaml index d7733a43b..9b85ed7e4 100644 --- a/openvswitch/Chart.yaml +++ b/openvswitch/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm OpenVSwitch name: openvswitch -version: 0.1.17 +version: 0.1.18 home: http://openvswitch.org icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png sources: diff --git a/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl b/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl index bd539f39d..f3776b4ab 100644 --- a/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl +++ b/openvswitch/templates/bin/_openvswitch-vswitchd.sh.tpl @@ -147,6 +147,11 @@ function poststart () { sleep 1 done chown {{ .Values.pod.user.nova.uid }}.{{ .Values.pod.user.nova.uid }} ${OVS_CTL} + +{{- if .Values.conf.poststart.extraCommand }} +{{ .Values.conf.poststart.extraCommand | indent 2 }} +{{- end }} + } $COMMAND diff --git a/openvswitch/values.yaml b/openvswitch/values.yaml index 68e9b42a8..f967c753e 100644 --- a/openvswitch/values.yaml +++ b/openvswitch/values.yaml @@ -211,6 +211,7 @@ conf: poststart: timeout: 5 rootUser: "root" + extraCommand: null openvswitch_db_server: ptcp_port: null ovs_other_config: diff --git a/releasenotes/notes/openvswitch.yaml b/releasenotes/notes/openvswitch.yaml index c9c2bf097..93a7113f4 100644 --- a/releasenotes/notes/openvswitch.yaml +++ b/releasenotes/notes/openvswitch.yaml @@ -18,4 +18,5 @@ openvswitch: - 0.1.15 Add buffer before accesses ovs controller pid socket - 0.1.16 Restore ServiceAccount to openvswitch pod - 0.1.17 Add buffer to wait for potential new CTL file before running chown + - 0.1.18 Add value for extra poststart command ...