Browse Source

Added volume related keys to pod mounts to ease the overriding

If user wants to add an extra volumeMounts/volume to a pod,
amd uses override values e.g. like this

pod:
  mounts:
    nova_placement:
      init_container: null
      nova_placement:
        volumeMounts:
          - name: nova-etc
          ...

helm template parser complains with

Warning: The destination item 'nova_placement' is a table and ignoring the source 'nova_placement' as it has a non-table value of: <nil>

So when we create empty values for such keys in values.yaml, the source
will be present and warning does not need to be shown.

Change-Id: Ib8dc53c3a54e12014025de8fafe16fbe9721c0da
Jiří Suchomel 1 month ago
parent
commit
a2a5dda47c

+ 6
- 0
barbican/values.yaml View File

@@ -63,12 +63,18 @@ pod:
63 63
     barbican_api:
64 64
       init_container: null
65 65
       barbican_api:
66
+        volumeMounts:
67
+        volumes:
66 68
     barbican_bootstrap:
67 69
       init_container: null
68 70
       barbican_bootstrap:
71
+        volumeMounts:
72
+        volumes:
69 73
     barbican_tests:
70 74
       init_container: null
71 75
       barbican_tests:
76
+        volumeMounts:
77
+        volumes:
72 78
   replicas:
73 79
     api: 1
74 80
   lifecycle:

+ 14
- 0
ceilometer/values.yaml View File

@@ -1834,24 +1834,38 @@ pod:
1834 1834
     ceilometer_tests:
1835 1835
       init_container: null
1836 1836
       ceilometer_tests:
1837
+        volumeMounts:
1838
+        volumes:
1837 1839
     ceilometer_api:
1838 1840
       init_container: null
1839 1841
       ceilometer_api:
1842
+        volumeMounts:
1843
+        volumes:
1840 1844
     ceilometer_compute:
1841 1845
       init_container: null
1842 1846
       ceilometer_compute:
1847
+        volumeMounts:
1848
+        volumes:
1843 1849
     ceilometer_central:
1844 1850
       init_container: null
1845 1851
       ceilometer_central:
1852
+        volumeMounts:
1853
+        volumes:
1846 1854
     ceilometer_ipmi:
1847 1855
       init_container: null
1848 1856
       ceilometer_ipmi:
1857
+        volumeMounts:
1858
+        volumes:
1849 1859
     ceilometer_collector:
1850 1860
       init_container: null
1851 1861
       ceilometer_collector:
1862
+        volumeMounts:
1863
+        volumes:
1852 1864
     ceilometer_notification:
1853 1865
       init_container: null
1854 1866
       ceilometer_notification:
1867
+        volumeMounts:
1868
+        volumes:
1855 1869
   replicas:
1856 1870
     api: 1
1857 1871
     central: 1

+ 12
- 0
cinder/values.yaml View File

@@ -91,21 +91,33 @@ pod:
91 91
     cinder_api:
92 92
       init_container: null
93 93
       cinder_api:
94
+        volumeMounts:
95
+        volumes:
94 96
     cinder_scheduler:
95 97
       init_container: null
96 98
       cinder_scheduler:
99
+        volumeMounts:
100
+        volumes:
97 101
     cinder_volume:
98 102
       init_container: null
99 103
       cinder_volume:
104
+        volumeMounts:
105
+        volumes:
100 106
     cinder_volume_usage_audit:
101 107
       init_container: null
102 108
       cinder_volume_usage_audit:
109
+        volumeMounts:
110
+        volumes:
103 111
     cinder_backup:
104 112
       init_container: null
105 113
       cinder_backup:
114
+        volumeMounts:
115
+        volumes:
106 116
     cinder_tests:
107 117
       init_container: null
108 118
       cinder_tests:
119
+        volumeMounts:
120
+        volumes:
109 121
   replicas:
110 122
     api: 1
111 123
     volume: 1

+ 6
- 0
glance/values.yaml View File

@@ -799,12 +799,18 @@ pod:
799 799
     glance_api:
800 800
       init_container: null
801 801
       glance_api:
802
+        volumeMounts:
803
+        volumes:
802 804
     glance_registry:
803 805
       init_container: null
804 806
       glance_registry:
807
+        volumeMounts:
808
+        volumes:
805 809
     glance_tests:
806 810
       init_container: null
807 811
       glance_tests:
812
+        volumeMounts:
813
+        volumes:
808 814
   replicas:
809 815
     api: 1
810 816
     registry: 1

+ 16
- 0
heat/values.yaml View File

@@ -967,27 +967,43 @@ pod:
967 967
     heat_api:
968 968
       init_container: null
969 969
       heat_api:
970
+        volumeMounts:
971
+        volumes:
970 972
     heat_cfn:
971 973
       init_container: null
972 974
       heat_cfn:
975
+        volumeMounts:
976
+        volumes:
973 977
     heat_cloudwatch:
974 978
       init_container: null
975 979
       heat_cloudwatch:
980
+        volumeMounts:
981
+        volumes:
976 982
     heat_engine:
977 983
       init_container: null
978 984
       heat_engine:
985
+        volumeMounts:
986
+        volumes:
979 987
     heat_bootstrap:
980 988
       init_container: null
981 989
       heat_bootstrap:
990
+        volumeMounts:
991
+        volumes:
982 992
     heat_trusts:
983 993
       init_container: null
984 994
       heat_trusts:
995
+        volumeMounts:
996
+        volumes:
985 997
     heat_engine_cleaner:
986 998
       init_container: null
987 999
       heat_engine_cleaner:
1000
+        volumeMounts:
1001
+        volumes:
988 1002
     heat_tests:
989 1003
       init_container: null
990 1004
       heat_tests:
1005
+        volumeMounts:
1006
+        volumes:
991 1007
   replicas:
992 1008
     api: 1
993 1009
     cfn: 1

+ 6
- 0
horizon/values.yaml View File

@@ -1991,12 +1991,18 @@ pod:
1991 1991
     horizon_db_init:
1992 1992
       init_container: null
1993 1993
       horizon_db_init:
1994
+        volumeMounts:
1995
+        volumes:
1994 1996
     horizon_db_sync:
1995 1997
       init_container: null
1996 1998
       horizon_db_sync:
1999
+        volumeMounts:
2000
+        volumes:
1997 2001
     horizon:
1998 2002
       init_container: null
1999 2003
       horizon:
2004
+        volumeMounts:
2005
+        volumes:
2000 2006
   replicas:
2001 2007
     server: 1
2002 2008
   lifecycle:

+ 6
- 0
ironic/values.yaml View File

@@ -556,12 +556,18 @@ pod:
556 556
     ironic_api:
557 557
       init_container: null
558 558
       ironic_api:
559
+        volumeMounts:
560
+        volumes:
559 561
     ironic_conductor:
560 562
       init_container: null
561 563
       ironic_conductor:
564
+        volumeMounts:
565
+        volumes:
562 566
     ironic_bootstrap:
563 567
       init_container: null
564 568
       ironic_bootstrap:
569
+        volumeMounts:
570
+        volumes:
565 571
   replicas:
566 572
     api: 1
567 573
     conductor: 1

+ 20
- 0
keystone/values.yaml View File

@@ -165,33 +165,53 @@ pod:
165 165
     keystone_db_init:
166 166
       init_container: null
167 167
       keystone_db_init:
168
+        volumeMounts:
169
+        volumes:
168 170
     keystone_db_sync:
169 171
       init_container: null
170 172
       keystone_db_sync:
173
+        volumeMounts:
174
+        volumes:
171 175
     keystone_api:
172 176
       init_container: null
173 177
       keystone_api:
178
+        volumeMounts:
179
+        volumes:
174 180
     keystone_tests:
175 181
       init_container: null
176 182
       keystone_tests:
183
+        volumeMounts:
184
+        volumes:
177 185
     keystone_bootstrap:
178 186
       init_container: null
179 187
       keystone_bootstrap:
188
+        volumeMounts:
189
+        volumes:
180 190
     keystone_fernet_setup:
181 191
       init_container: null
182 192
       keystone_fernet_setup:
193
+        volumeMounts:
194
+        volumes:
183 195
     keystone_fernet_rotate:
184 196
       init_container: null
185 197
       keystone_fernet_rotate:
198
+        volumeMounts:
199
+        volumes:
186 200
     keystone_credential_setup:
187 201
       init_container: null
188 202
       keystone_credential_setup:
203
+        volumeMounts:
204
+        volumes:
189 205
     keystone_credential_rotate:
190 206
       init_container: null
191 207
       keystone_credential_rotate:
208
+        volumeMounts:
209
+        volumes:
192 210
     keystone_domain_manage:
193 211
       init_container: null
194 212
       keystone_domain_manage:
213
+        volumeMounts:
214
+        volumes:
195 215
   replicas:
196 216
     api: 1
197 217
   lifecycle:

+ 6
- 0
magnum/values.yaml View File

@@ -492,12 +492,18 @@ pod:
492 492
     magnum_api:
493 493
       init_container: null
494 494
       magnum_api:
495
+        volumeMounts:
496
+        volumes:
495 497
     magnum_conductor:
496 498
       init_container: null
497 499
       magnum_conductor:
500
+        volumeMounts:
501
+        volumes:
498 502
     magnum_bootstrap:
499 503
       init_container: null
500 504
       magnum_bootstrap:
505
+        volumeMounts:
506
+        volumes:
501 507
   replicas:
502 508
     api: 1
503 509
     conductor: 1

+ 12
- 0
mistral/values.yaml View File

@@ -541,21 +541,33 @@ pod:
541 541
     mistral_api:
542 542
       init_container: null
543 543
       mistral_api:
544
+        volumeMounts:
545
+        volumes:
544 546
     mistral_executor:
545 547
       init_container: null
546 548
       mistral_executor:
549
+        volumeMounts:
550
+        volumes:
547 551
     mistral_engine:
548 552
       init_container: null
549 553
       mistral_engine:
554
+        volumeMounts:
555
+        volumes:
550 556
     mistral_event_engine:
551 557
       init_container: null
552 558
       mistral_event_engine:
559
+        volumeMounts:
560
+        volumes:
553 561
     mistral_bootstrap:
554 562
       init_container: null
555 563
       mistral_bootstrap:
564
+        volumeMounts:
565
+        volumes:
556 566
     mistral_tests:
557 567
       init_container: null
558 568
       mistral_tests:
569
+        volumeMounts:
570
+        volumes:
559 571
   replicas:
560 572
     api: 1
561 573
     engine: 1

+ 18
- 0
neutron/values.yaml View File

@@ -313,30 +313,48 @@ pod:
313 313
     neutron_server:
314 314
       init_container: null
315 315
       neutron_server:
316
+        volumeMounts:
317
+        volumes:
316 318
     neutron_dhcp_agent:
317 319
       init_container: null
318 320
       neutron_dhcp_agent:
321
+        volumeMounts:
322
+        volumes:
319 323
     neutron_l3_agent:
320 324
       init_container: null
321 325
       neutron_l3_agent:
326
+        volumeMounts:
327
+        volumes:
322 328
     neutron_lb_agent:
323 329
       init_container: null
324 330
       neutron_lb_agent:
331
+        volumeMounts:
332
+        volumes:
325 333
     neutron_metadata_agent:
326 334
       init_container: null
327 335
       neutron_metadata_agent:
336
+        volumeMounts:
337
+        volumes:
328 338
     neutron_ovs_agent:
329 339
       init_container: null
330 340
       neutron_ovs_agent:
341
+        volumeMounts:
342
+        volumes:
331 343
     neutron_sriov_agent:
332 344
       init_container: null
333 345
       neutron_sriov_agent:
346
+        volumeMounts:
347
+        volumes:
334 348
     neutron_tests:
335 349
       init_container: null
336 350
       neutron_tests:
351
+        volumeMounts:
352
+        volumes:
337 353
     neutron_bootstrap:
338 354
       init_container: null
339 355
       neutron_bootstrap:
356
+        volumeMounts:
357
+        volumes:
340 358
   replicas:
341 359
     server: 1
342 360
   lifecycle:

+ 24
- 0
nova/values.yaml View File

@@ -1967,39 +1967,63 @@ pod:
1967 1967
     nova_compute:
1968 1968
       init_container: null
1969 1969
       nova_compute:
1970
+        volumeMounts:
1971
+        volumes:
1970 1972
     nova_compute_ironic:
1971 1973
       init_container: null
1972 1974
       nova_compute_ironic:
1975
+        volumeMounts:
1976
+        volumes:
1973 1977
     nova_api_metadata:
1974 1978
       init_container: null
1975 1979
       nova_api_metadata:
1980
+        volumeMounts:
1981
+        volumes:
1976 1982
     nova_placement:
1977 1983
       init_container: null
1978 1984
       nova_placement:
1985
+        volumeMounts:
1986
+        volumes:
1979 1987
     nova_api_osapi:
1980 1988
       init_container: null
1981 1989
       nova_api_osapi:
1990
+        volumeMounts:
1991
+        volumes:
1982 1992
     nova_consoleauth:
1983 1993
       init_container: null
1984 1994
       nova_consoleauth:
1995
+        volumeMounts:
1996
+        volumes:
1985 1997
     nova_conductor:
1986 1998
       init_container: null
1987 1999
       nova_conductor:
2000
+        volumeMounts:
2001
+        volumes:
1988 2002
     nova_scheduler:
1989 2003
       init_container: null
1990 2004
       nova_scheduler:
2005
+        volumeMounts:
2006
+        volumes:
1991 2007
     nova_bootstrap:
1992 2008
       init_container: null
1993 2009
       nova_bootstrap:
2010
+        volumeMounts:
2011
+        volumes:
1994 2012
     nova_tests:
1995 2013
       init_container: null
1996 2014
       nova_tests:
2015
+        volumeMounts:
2016
+        volumes:
1997 2017
     nova_novncproxy:
1998 2018
       init_novncproxy: null
1999 2019
       nova_novncproxy:
2020
+        volumeMounts:
2021
+        volumes:
2000 2022
     nova_spiceproxy:
2001 2023
       init_spiceproxy: null
2002 2024
       nova_spiceproxy:
2025
+        volumeMounts:
2026
+        volumes:
2003 2027
   replicas:
2004 2028
     api_metadata: 1
2005 2029
     compute_ironic: 1

+ 4
- 0
rally/values.yaml View File

@@ -68,9 +68,13 @@ pod:
68 68
     rally_api:
69 69
       init_container: null
70 70
       rally_api:
71
+        volumeMounts:
72
+        volumes:
71 73
     rally_bootstrap:
72 74
       init_container: null
73 75
       rally_bootstrap:
76
+        volumeMounts:
77
+        volumes:
74 78
   resources:
75 79
     enabled: false
76 80
     jobs:

+ 10
- 0
senlin/values.yaml View File

@@ -511,18 +511,28 @@ pod:
511 511
     senlin_api:
512 512
       init_container: null
513 513
       senlin_api:
514
+        volumeMounts:
515
+        volumes:
514 516
     senlin_engine:
515 517
       init_container: null
516 518
       senlin_engine:
519
+        volumeMounts:
520
+        volumes:
517 521
     senlin_bootstrap:
518 522
       init_container: null
519 523
       senlin_bootstrap:
524
+        volumeMounts:
525
+        volumes:
520 526
     senlin_engine_cleaner:
521 527
       init_container: null
522 528
       senlin_engine_cleaner:
529
+        volumeMounts:
530
+        volumes:
523 531
     senlin_tests:
524 532
       init_container: null
525 533
       senlin_tests:
534
+        volumeMounts:
535
+        volumes:
526 536
   replicas:
527 537
     api: 1
528 538
     engine: 1

Loading…
Cancel
Save