-
Notifications
You must be signed in to change notification settings - Fork 634
Commit c91dd31
Add additional volumes to pgbackrest pods.
Change the API to allow users to specify preexisting PVCs to attach to specified containers in the various pgbackrest related pods: backup jobs, repo hosts, and restore jobs.
The spec allos 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 isnt present, we continue to reconcile, but issue a warning event with the names of the missing containers.
Issues: [PGO-2564]1 parent 8d323cc commit c91dd31
File tree
8 files changed
+719
-7
lines changed- config/crd/bases
- internal/controller/postgrescluster
- pkg/apis/postgres-operator.crunchydata.com
- v1beta1
- v1
8 files changed
+719
-7
lines changedLines changed: 510 additions & 0 deletions
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
608 | 608 |
| |
609 | 609 |
| |
610 | 610 |
| |
611 | - | ||
611 | + | ||
612 | + | ||
612 | 613 |
| |
613 | 614 |
| |
614 | 615 |
| |
| |||
718 | 719 |
| |
719 | 720 |
| |
720 | 721 |
| |
722 | + | ||
723 | + | ||
724 | + | ||
725 | + | ||
726 | + | ||
727 | + | ||
728 | + | ||
729 | + | ||
730 | + | ||
731 | + | ||
721 | 732 |
| |
722 | 733 |
| |
723 | 734 |
| |
| |||
814 | 825 |
| |
815 | 826 |
| |
816 | 827 |
| |
817 | - | ||
828 | + | ||
829 | + | ||
818 | 830 |
| |
819 | 831 |
| |
820 | 832 |
| |
| |||
848 | 860 |
| |
849 | 861 |
| |
850 | 862 |
| |
851 | - | ||
863 | + | ||
864 | + | ||
852 | 865 |
| |
853 | - | ||
854 | - | ||
855 | - | ||
856 | - | ||
857 | 866 |
| |
858 | 867 |
| |
859 | 868 |
| |
| |||
897 | 906 |
| |
898 | 907 |
| |
899 | 908 |
| |
909 | + | ||
910 | + | ||
911 | + | ||
912 | + | ||
913 | + | ||
914 | + | ||
915 | + | ||
916 | + | ||
917 | + | ||
918 | + | ||
900 | 919 |
| |
901 | 920 |
| |
902 | 921 |
| |
| |||
1388 | 1407 |
| |
1389 | 1408 |
| |
1390 | 1409 |
| |
1410 | + | ||
1411 | + | ||
1412 | + | ||
1413 | + | ||
1414 | + | ||
1415 | + | ||
1416 | + | ||
1417 | + | ||
1418 | + | ||
1391 | 1419 |
| |
1392 | 1420 |
| |
1393 | 1421 |
| |
| |||
1821 | 1849 |
| |
1822 | 1850 |
| |
1823 | 1851 |
| |
1852 | + | ||
1824 | 1853 |
| |
1825 | 1854 |
| |
1826 | 1855 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3070 | 3070 |
| |
3071 | 3071 |
| |
3072 | 3072 |
| |
3073 | + | ||
3074 | + | ||
3075 | + | ||
3076 | + | ||
3077 | + | ||
3078 | + | ||
3079 | + | ||
3080 | + | ||
3081 | + | ||
3082 | + | ||
3083 | + | ||
3084 | + | ||
3085 | + | ||
3086 | + | ||
3087 | + | ||
3088 | + | ||
3089 | + | ||
3090 | + | ||
3091 | + | ||
3092 | + | ||
3093 | + | ||
3094 | + | ||
3095 | + | ||
3096 | + | ||
3097 | + | ||
3098 | + | ||
3099 | + | ||
3100 | + | ||
3101 | + | ||
3102 | + | ||
3103 | + | ||
3104 | + | ||
3105 | + | ||
3106 | + | ||
3107 | + | ||
3108 | + | ||
3109 | + | ||
3110 | + | ||
3111 | + | ||
3112 | + | ||
3073 | 3113 |
| |
3074 | 3114 |
| |
3075 | 3115 |
| |
| |||
3123 | 3163 |
| |
3124 | 3164 |
| |
3125 | 3165 |
| |
3166 | + | ||
3167 | + | ||
3168 | + | ||
3169 | + | ||
3170 | + | ||
3171 | + | ||
3172 | + | ||
3173 | + | ||
3174 | + | ||
3175 | + | ||
3176 | + | ||
3177 | + | ||
3178 | + | ||
3179 | + | ||
3180 | + | ||
3181 | + | ||
3182 | + | ||
3183 | + | ||
3184 | + | ||
3185 | + | ||
3186 | + | ||
3187 | + | ||
3188 | + | ||
3189 | + | ||
3190 | + | ||
3191 | + | ||
3192 | + | ||
3193 | + | ||
3194 | + | ||
3195 | + | ||
3196 | + | ||
3197 | + | ||
3198 | + | ||
3199 | + | ||
3200 | + | ||
3201 | + | ||
3202 | + | ||
3126 | 3203 |
| |
3127 | 3204 |
| |
3128 | 3205 |
| |
| |||
3174 | 3251 |
| |
3175 | 3252 |
| |
3176 | 3253 |
| |
3254 | + | ||
3255 | + | ||
3256 | + | ||
3257 | + | ||
3258 | + | ||
3259 | + | ||
3260 | + | ||
3261 | + | ||
3177 | 3262 |
| |
3178 | 3263 |
| |
3179 | 3264 |
| |
| |||
3266 | 3351 |
| |
3267 | 3352 |
| |
3268 | 3353 |
| |
3354 | + | ||
3355 | + | ||
3356 | + | ||
3269 | 3357 |
| |
3270 | 3358 |
| |
3271 | 3359 |
| |
| |||
3289 | 3377 |
| |
3290 | 3378 |
| |
3291 | 3379 |
| |
3380 | + | ||
3381 | + | ||
3382 | + | ||
3383 | + | ||
3384 | + | ||
3385 | + | ||
3386 | + | ||
3292 | 3387 |
| |
3293 | 3388 |
| |
3294 | 3389 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
311 | 311 |
| |
312 | 312 |
| |
313 | 313 |
| |
314 | + | ||
315 | + | ||
316 | + | ||
317 | + | ||
314 | 318 |
| |
315 | 319 |
| |
316 | 320 |
| |
|
Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
175 | 175 |
| |
176 | 176 |
| |
177 | 177 |
| |
178 | + | ||
179 | + | ||
180 | + | ||
181 | + | ||
182 | + | ||
183 | + | ||
184 | + | ||
185 | + | ||
186 | + | ||
187 | + | ||
188 | + | ||
189 | + | ||
190 | + | ||
191 | + | ||
192 | + | ||
178 | 193 |
| |
179 | 194 |
| |
180 | 195 |
| |
| |||
230 | 245 |
| |
231 | 246 |
| |
232 | 247 |
| |
248 | + | ||
249 | + | ||
250 | + | ||
251 | + | ||
233 | 252 |
| |
234 | 253 |
| |
235 | 254 |
| |
| |||
459 | 478 |
| |
460 | 479 |
| |
461 | 480 |
| |
481 | + | ||
482 | + | ||
483 | + | ||
484 | + | ||
462 | 485 |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
308 | 308 |
| |
309 | 309 |
| |
310 | 310 |
| |
311 | + | ||
312 | + | ||
313 | + | ||
314 | + | ||
311 | 315 |
| |
312 | 316 |
| |
313 | 317 |
| |
|
Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments