Commit 7844fe2
Attach additional volume for postgres, (CrunchyData#4210)
* Add additional volume for postgres pods
Change the API to allow users to specify preexisting
PVCs to attach to specified containers in the postgres
instance pods.
The spec allows users to specify whether to add
the volume to
- all containers (by omitting the containers list)
- no containers (by specifying an empty containers list)
- a list of named containers
If any of the named containers isn't present, we continue
to reconcile, but issue a warning event with the names
of the missing containers.
Issues: [PGO-2556]
Co-authored-by: Drew Sessler <[email protected]>1 parent 0c2ca1b commit 7844fe2
File tree
9 files changed
+539
-0
lines changed- config/crd/bases
- internal/controller/postgrescluster
- pkg/apis/postgres-operator.crunchydata.com
- v1beta1
- v1
9 files changed
+539
-0
lines changedLines changed: 88 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11027 | 11027 | | |
11028 | 11028 | | |
11029 | 11029 | | |
| 11030 | + | |
| 11031 | + | |
| 11032 | + | |
| 11033 | + | |
| 11034 | + | |
| 11035 | + | |
| 11036 | + | |
| 11037 | + | |
| 11038 | + | |
| 11039 | + | |
| 11040 | + | |
| 11041 | + | |
| 11042 | + | |
| 11043 | + | |
| 11044 | + | |
| 11045 | + | |
| 11046 | + | |
| 11047 | + | |
| 11048 | + | |
| 11049 | + | |
| 11050 | + | |
| 11051 | + | |
| 11052 | + | |
| 11053 | + | |
| 11054 | + | |
| 11055 | + | |
| 11056 | + | |
| 11057 | + | |
| 11058 | + | |
| 11059 | + | |
| 11060 | + | |
| 11061 | + | |
| 11062 | + | |
| 11063 | + | |
| 11064 | + | |
| 11065 | + | |
| 11066 | + | |
| 11067 | + | |
| 11068 | + | |
| 11069 | + | |
| 11070 | + | |
| 11071 | + | |
| 11072 | + | |
| 11073 | + | |
11030 | 11074 | | |
11031 | 11075 | | |
11032 | 11076 | | |
| |||
29598 | 29642 | | |
29599 | 29643 | | |
29600 | 29644 | | |
| 29645 | + | |
| 29646 | + | |
| 29647 | + | |
| 29648 | + | |
| 29649 | + | |
| 29650 | + | |
| 29651 | + | |
| 29652 | + | |
| 29653 | + | |
| 29654 | + | |
| 29655 | + | |
| 29656 | + | |
| 29657 | + | |
| 29658 | + | |
| 29659 | + | |
| 29660 | + | |
| 29661 | + | |
| 29662 | + | |
| 29663 | + | |
| 29664 | + | |
| 29665 | + | |
| 29666 | + | |
| 29667 | + | |
| 29668 | + | |
| 29669 | + | |
| 29670 | + | |
| 29671 | + | |
| 29672 | + | |
| 29673 | + | |
| 29674 | + | |
| 29675 | + | |
| 29676 | + | |
| 29677 | + | |
| 29678 | + | |
| 29679 | + | |
| 29680 | + | |
| 29681 | + | |
| 29682 | + | |
| 29683 | + | |
| 29684 | + | |
| 29685 | + | |
| 29686 | + | |
| 29687 | + | |
| 29688 | + | |
29601 | 29689 | | |
29602 | 29690 | | |
29603 | 29691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1253 | 1253 | | |
1254 | 1254 | | |
1255 | 1255 | | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
1256 | 1266 | | |
1257 | 1267 | | |
1258 | 1268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
0 commit comments