Initial treasuremap/template for site_type ovsdpdk
[yaml_builds.git] / site_type / ovsdpdk / airship-treasuremap / global / v4.0 / software / charts / ucp / ceph / ceph-client-update.yaml
1 ---
2 schema: armada/Chart/v1
3 metadata:
4   schema: metadata/Document/v1
5   name: ucp-ceph-client-update-global
6   layeringDefinition:
7     abstract: true
8     layer: global
9   storagePolicy: cleartext
10   labels:
11     name: ucp-ceph-client-update-global
12   substitutions:
13     # Chart source
14     - src:
15         schema: pegleg/SoftwareVersions/v1
16         name: software-versions
17         path: .charts.ucp.ceph-client
18       dest:
19         path: .source
20     # Images
21     - src:
22         schema: pegleg/SoftwareVersions/v1
23         name: software-versions
24         path: .images.ceph.ceph-client
25       dest:
26         path: .values.images.tags
27
28     # IP addresses
29     - src:
30         schema: pegleg/CommonAddresses/v1
31         name: common-addresses
32         path: .storage.ceph.public_cidr
33       dest:
34         path: .values.network.public
35     - src:
36         schema: pegleg/CommonAddresses/v1
37         name: common-addresses
38         path: .storage.ceph.cluster_cidr
39       dest:
40         path: .values.network.cluster
41     - src:
42         schema: pegleg/EndpointCatalogue/v1
43         name: osh_endpoints
44         path: .osh.identity
45       dest:
46         path: .values.endpoints.identity
47     - src:
48         schema: pegleg/EndpointCatalogue/v1
49         name: ucp_endpoints
50         path: .ceph.object_store
51       dest:
52         path: .values.endpoints.object_store
53     - src:
54         schema: pegleg/EndpointCatalogue/v1
55         name: ucp_endpoints
56         path: .ceph.ceph_mon
57       dest:
58         path: .values.endpoints.ceph_mon
59     - src:
60         schema: pegleg/EndpointCatalogue/v1
61         name: ucp_endpoints
62         path: .ceph.ceph_mgr
63       dest:
64         path: .values.endpoints.ceph_mgr
65     - src:
66         schema: pegleg/AccountCatalogue/v1
67         name: osh_service_accounts
68         path: .osh.keystone.admin
69       dest:
70         path: .values.endpoints.identity.auth.admin
71     - src:
72         schema: pegleg/AccountCatalogue/v1
73         name: osh_service_accounts
74         path: .osh.swift.keystone
75       dest:
76         path: .values.endpoints.identity.auth.swift
77
78     # Secrets
79     - dest:
80         path: .values.endpoints.identity.auth.admin.password
81       src:
82         schema: deckhand/Passphrase/v1
83         name: osh_keystone_admin_password
84         path: .
85     - dest:
86         path: .values.endpoints.identity.auth.swift.password
87       src:
88         schema: deckhand/Passphrase/v1
89         name: ceph_swift_keystone_password
90         path: .
91     - dest:
92        path: .values.conf.ceph.global.fsid
93       src:
94         schema: deckhand/Passphrase/v1
95         name: ceph_fsid
96         path: .
97
98 data:
99   chart_name: ucp-ceph-client
100   release: ucp-ceph-client
101   namespace: ceph
102   protected:
103     continue_processing: true
104   wait:
105     timeout: 900
106     labels:
107       release_group: airship-ucp-ceph-client
108   install:
109     no_hooks: false
110   upgrade:
111     no_hooks: false
112     pre:
113       delete:
114         - type: job
115           labels:
116             release_group: airship-ucp-ceph-client
117   values:
118     labels:
119       job:
120         node_selector_key: ucp-control-plane
121         node_selector_value: enabled
122       provisioner:
123         node_selector_key: ucp-control-plane
124         node_selector_value: enabled
125       mds:
126         node_selector_key: ceph-mds
127         node_selector_value: enabled
128       rgw:
129         node_selector_key: ceph-rgw
130         node_selector_value: enabled
131       mgr:
132         node_selector_key: ceph-mgr
133         node_selector_value: enabled
134     endpoints:
135       identity:
136         namespace: openstack
137       object_store:
138         namespace: ceph
139       ceph_mon:
140         namespace: ceph
141     deployment:
142       ceph: true
143       client_secrets: false
144       rbd_provisioner: true
145       cephfs_provisioner: true
146       rgw_keystone_user_and_endpoints: false
147     bootstrap:
148       enabled: true
149     pod:
150       replicas:
151         mds: 2
152         mgr: 2
153         rgw: 2
154
155     conf:
156       rgw_ks:
157         enabled: true
158         config:
159           #NOTE (portdirect): See http://tracker.ceph.com/issues/21226
160           rgw_keystone_token_cache_size: '0'
161       pool:
162
163         # NOTE(alanmeadows) spport 4.x 16.04 kernels (non-HWE)
164         crush:
165           tunables: 'hammer'
166
167         # NOTE(alanmeadows): This is required ATM for bootstrapping a Ceph
168         # cluster with only one OSD.  Depending on OSD targeting & site
169         # configuration this can be changed.
170         target:
171           osd: 1
172           pg_per_osd: 100
173
174         default:
175           # NOTE(alanmeadows): This is required ATM for bootstrapping a Ceph
176           # cluster with only one OSD.  Depending on OSD targeting & site
177           # configuration this can be changed.
178           crush_rule: replicated_rule
179
180       ceph:
181         global:
182         # NOTE: This is required ATM for bootstrapping a Ceph
183         # cluster with only one OSD.  Depending on OSD targeting & site
184         # configuration this can be changed.
185           osd_pool_default_size: 1
186
187   dependencies:
188     - ceph-htk
189 ...