X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fsriov%2Ftemplates%2Fsoftware%2Fcharts%2Fucp%2Fceph%2Fceph-osd.j2;fp=site_type%2Fsriov%2Ftemplates%2Fsoftware%2Fcharts%2Fucp%2Fceph%2Fceph-osd.j2;h=ce786f33db0bcd26f400f49a47b9b683a968782f;hb=c88cf93ab1508f0dd1ec862fc02634604ca9c94d;hp=0000000000000000000000000000000000000000;hpb=65e9ce265e221f060686a69efce51f982c1833b0;p=yaml_builds.git diff --git a/site_type/sriov/templates/software/charts/ucp/ceph/ceph-osd.j2 b/site_type/sriov/templates/software/charts/ucp/ceph/ceph-osd.j2 new file mode 100644 index 0000000..ce786f3 --- /dev/null +++ b/site_type/sriov/templates/software/charts/ucp/ceph/ceph-osd.j2 @@ -0,0 +1,46 @@ +--- +############################################################################## +# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. # +# # +# You may obtain a copy of the License at # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +############################################################################## + +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-ceph-osd + layeringDefinition: + abstract: false + layer: site + parentSelector: + name: ucp-ceph-osd-global + actions: + - method: replace + path: .values.conf.storage.osd + - method: merge + path: . + storagePolicy: cleartext +data: + values: + conf: + storage: + osd: +{% for osd in yaml.storage.osds %} + - data: + type: block-logical + location: {{osd.data}} + journal: + type: directory + location: {{osd.journal}} +{% endfor %} +...