aa1f372a80d7581d06a3d2dcb04330690be277d9
[yaml_builds.git] / site / site30 / software / charts / ucp / ceph / ceph-update.yaml
1 ---
2 ##############################################################################
3 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.          #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
6 # not use this file except in compliance with the License.                   #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18 schema: armada/Chart/v1
19 metadata:
20   schema: metadata/Document/v1
21   name: ucp-ceph-update
22   layeringDefinition:
23     abstract: false
24     layer: site
25     parentSelector:
26       name: ucp-ceph-global
27     actions:
28       - method: replace
29         path: .values.conf.storage.osd
30       - method: merge
31         path: .
32   storagePolicy: cleartext
33 data:
34   values:
35     conf:
36       storage:
37         osd:
38           - data:
39               type: block-logical
40               location: /dev/sdb
41             journal:
42               type: directory
43               location: /var/lib/ceph/journal/journal-sdb
44           - data:
45               type: block-logical
46               location: /dev/sdc
47             journal:
48               type: directory
49               location: /var/lib/ceph/journal/journal-sdc
50           - data:
51               type: block-logical
52               location: /dev/sdd
53             journal:
54               type: directory
55               location: /var/lib/ceph/journal/journal-sdd
56           - data:
57               type: block-logical
58               location: /dev/sde
59             journal:
60               type: directory
61               location: /var/lib/ceph/journal/journal-sde
62           - data:
63               type: block-logical
64               location: /dev/sdf
65             journal:
66               type: directory
67               location: /var/lib/ceph/journal/journal-sdf
68           - data:
69               type: block-logical
70               location: /dev/sdg
71             journal:
72               type: directory
73               location: /var/lib/ceph/journal/journal-sdg
74           - data:
75               type: block-logical
76               location: /dev/sdh
77             journal:
78               type: directory
79               location: /var/lib/ceph/journal/journal-sdh
80           - data:
81               type: block-logical
82               location: /dev/sdi
83             journal:
84               type: directory
85               location: /var/lib/ceph/journal/journal-sdi
86       pool:
87         target:
88           osd: 24
89         default:
90           crush_rule: replicated_rule
91 ...
92 ---
93 schema: armada/ChartGroup/v1
94 metadata:
95   schema: metadata/Document/v1
96   name: ucp-ceph-update
97   layeringDefinition:
98     abstract: false
99     layer: site
100   storagePolicy: cleartext
101 data:
102   description: Ceph post intall update
103   chart_group:
104     - ucp-ceph-update
105 ...