Commit d67c7c7
committed
Root cause: The TLS commit changed the MCP service port from 8080 to 8443
when TLS is enabled. This broke existing clients (like the
OpenStackAssistant's Goose extension) that have the http://...:8080 URL
configured.
Fix: Keep port 8080 for both TLS and non-TLS modes. TLS doesn't require a
different port — the MCP server can serve HTTPS on 8080. Changes in three
places:
1. internal/openstackclient/funcs.go — removed the container port change
(always 8080) and removed the port change in MCPConfigYAML (always port:
8080)
2. internal/controller/client/openstackclient_controller.go — removed the
service port change (always 8080)
The TLS cert/key mounting, TLS config in the YAML, and https allowed origins
are all still in place — only the port change was removed.1 parent d58b1e6 commit d67c7c7
2 files changed
Lines changed: 5 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | 388 | | |
395 | 389 | | |
396 | 390 | | |
| |||
400 | 394 | | |
401 | 395 | | |
402 | 396 | | |
403 | | - | |
| 397 | + | |
404 | 398 | | |
405 | 399 | | |
406 | 400 | | |
| |||
415 | 409 | | |
416 | 410 | | |
417 | 411 | | |
418 | | - | |
| 412 | + | |
419 | 413 | | |
420 | 414 | | |
421 | 415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | 139 | | |
141 | | - | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
| |||
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
187 | | - | |
| 185 | + | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
| |||
212 | 210 | | |
213 | 211 | | |
214 | 212 | | |
215 | | - | |
216 | 213 | | |
217 | 214 | | |
218 | 215 | | |
219 | | - | |
220 | 216 | | |
221 | 217 | | |
222 | 218 | | |
223 | 219 | | |
224 | 220 | | |
225 | 221 | | |
226 | | - | |
| 222 | + | |
227 | 223 | | |
228 | 224 | | |
229 | 225 | | |
| |||
235 | 231 | | |
236 | 232 | | |
237 | 233 | | |
238 | | - | |
| 234 | + | |
239 | 235 | | |
240 | 236 | | |
241 | 237 | | |
| |||
0 commit comments