Initial treasuremap/template for site_type ovsdpdk
[yaml_builds.git] / site_type / ovsdpdk / airship-treasuremap / global / v4.0 / software / charts / ucp / ceph / ceph-client.yaml
1 ---
2 schema: armada/Chart/v1
3 metadata:
4   schema: metadata/Document/v1
5   name: ucp-ceph-client-global
6   layeringDefinition:
7     abstract: true
8     layer: global
9   storagePolicy: cleartext
10   labels:
11     name: ucp-ceph-client-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
72     - src:
73         schema: pegleg/AccountCatalogue/v1
74         name: osh_service_accounts
75         path: .osh.swift.keystone
76       dest:
77         path: .values.endpoints.identity.auth.swift
78
79     # Secrets
80     - dest:
81         path: .values.endpoints.identity.auth.admin.password
82       src:
83         schema: deckhand/Passphrase/v1
84         name: osh_keystone_admin_password
85         path: .
86     - dest:
87         path: .values.endpoints.identity.auth.swift.password
88       src:
89         schema: deckhand/Passphrase/v1
90         name: ceph_swift_keystone_password
91         path: .
92     - dest:
93        path: .values.conf.ceph.global.fsid
94       src:
95         schema: deckhand/Passphrase/v1
96         name: ceph_fsid
97         path: .
98
99 data:
100   chart_name: ucp-ceph-client
101   release: ucp-ceph-client
102   namespace: ceph
103   protected:
104     continue_processing: true
105   wait:
106     timeout: 900
107     labels:
108       release_group: airship-ucp-ceph-client
109   install:
110     no_hooks: false
111   upgrade:
112     no_hooks: false
113     pre:
114       delete:
115         - type: job
116           labels:
117             release_group: airship-ucp-ceph-client
118   values:
119     labels:
120       job:
121         node_selector_key: ucp-control-plane
122         node_selector_value: enabled
123       provisioner:
124         node_selector_key: ucp-control-plane
125         node_selector_value: enabled
126       mds:
127         node_selector_key: ceph-mds
128         node_selector_value: enabled
129       rgw:
130         node_selector_key: ceph-rgw
131         node_selector_value: enabled
132       mgr:
133         node_selector_key: ceph-mgr
134         node_selector_value: enabled
135     endpoints:
136       identity:
137         namespace: openstack
138       object_store:
139         namespace: ceph
140       ceph_mon:
141         namespace: ceph
142     deployment:
143       ceph: true
144       client_secrets: false
145       rbd_provisioner: true
146       cephfs_provisioner: true
147       rgw_keystone_user_and_endpoints: false
148     bootstrap:
149       enabled: true
150     pod:
151       replicas:
152         mds: 1
153         mgr: 1
154         rgw: 1
155
156     conf:
157       rgw_ks:
158         enabled: true
159         config:
160           #NOTE (portdirect): See http://tracker.ceph.com/issues/21226
161           rgw_keystone_token_cache_size: '0'
162       pool:
163
164         # NOTE(alanmeadows) spport 4.x 16.04 kernels (non-HWE)
165         crush:
166           tunables: 'hammer'
167
168         # NOTE(alanmeadows): This is required ATM for bootstrapping a Ceph
169         # cluster with only one OSD.  Depending on OSD targeting & site
170         # configuration this can be changed.
171         target:
172           osd: 1
173           pg_per_osd: 100
174
175         default:
176           # NOTE(alanmeadows): This is required ATM for bootstrapping a Ceph
177           # cluster with only one OSD.  Depending on OSD targeting & site
178           # configuration this can be changed.
179           crush_rule: same_host
180
181       ceph:
182         global:
183           # NOTE: This is required ATM for bootstrapping a Ceph
184           # cluster with only one OSD.  Depending on OSD targeting & site
185           # configuration this can be changed.
186           osd_pool_default_size: 1
187
188   dependencies:
189     - ceph-htk
190 ...