@@ -99,41 +99,65 @@ conf:
99
99
100
100
# disable the neutron-ironic-agent from loading a non-existent config
101
101
pod :
102
- use_fqdn :
103
- neutron_agent : false
104
- lifecycle :
105
- disruption_budget :
106
- server :
107
- # this should be set to no more than (pod.replicas.server - 1)
108
- # usually set on per-deployment basis.
109
- min_available : 0
110
102
mounts :
103
+ neutron_db_sync :
104
+ neutron_db_sync :
105
+ volumeMounts :
106
+ # this is upstream but since we're making a list it gets replaced
107
+ - name : db-sync-conf
108
+ mountPath : /etc/neutron/plugins/ml2/ml2_conf.ini
109
+ subPath : ml2_conf.ini
110
+ readOnly : true
111
+ - name : neutron-etc-snippets
112
+ mountPath : /etc/neutron/neutron.conf.d/
113
+ readOnly : true
114
+ volumes :
115
+ - name : neutron-etc-snippets
116
+ projected :
117
+ sources :
118
+ - secret :
119
+ name : neutron-ks-etc
120
+ neutron_ironic_agent :
121
+ neutron_ironic_agent :
122
+ volumeMounts :
123
+ - name : neutron-etc-snippets
124
+ mountPath : /etc/neutron/neutron.conf.d/
125
+ readOnly : true
126
+ volumes :
127
+ - name : neutron-etc-snippets
128
+ projected :
129
+ sources :
130
+ - secret :
131
+ name : neutron-ks-etc
111
132
neutron_server :
112
133
neutron_server :
113
134
volumeMounts :
114
- # oslo.config autoloads certain paths in alphabetical order
115
- # which gives us the opportunity to inject secrets and extra
116
- # configs here. likely the best paths are:
117
- # /etc/${project}/${prog}.conf.d/*.conf
118
- # /etc/${project}/${project}.conf.d/*.conf
119
- # the first would be best for per service separation but since each
120
- # service is in its own pod they won't overlap. further more there
121
- # is an issue with that see https://bugs.launchpad.net/oslo.config/+bug/2098514
122
- # so we'll use the bottom one
123
- - mountPath : /etc/neutron/neutron.conf.d/ml2_understack.conf
124
- name : neutron-nautobot
125
- subPath : ml2_understack.conf
126
- readOnly : true
127
135
- mountPath : /etc/undersync/
128
136
name : undersync-token
129
137
readOnly : true
138
+ - name : neutron-etc-snippets
139
+ mountPath : /etc/neutron/neutron.conf.d/
140
+ readOnly : true
130
141
volumes :
131
- - name : neutron-nautobot
132
- secret :
133
- secretName : neutron-nautobot
134
142
- name : undersync-token
135
143
secret :
136
144
secretName : undersync-token
145
+ - name : neutron-etc-snippets
146
+ projected :
147
+ sources :
148
+ - secret :
149
+ name : neutron-ks-etc
150
+ - secret :
151
+ name : neutron-nautobot
152
+
153
+ use_fqdn :
154
+ neutron_agent : false
155
+ lifecycle :
156
+ disruption_budget :
157
+ server :
158
+ # this should be set to no more than (pod.replicas.server - 1)
159
+ # usually set on per-deployment basis.
160
+ min_available : 0
137
161
resources :
138
162
enabled : true
139
163
0 commit comments