fuel-plugin-nitrous/volumes.yaml

35 lines
1.0 KiB
YAML

# Copyright 2016 AT&T, Inc.
#
# 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.
volumes_roles_mapping:
nitrous:
- {allocate_size: "min", id: "os"}
- {allocate_size: "min", id: "logs"}
- {allocate_size: "all", id: "nitrous"}
volumes:
- id: "nitrous"
type: "vg"
min_size:
generator: "calc_gb_to_mb"
generator_args: [10]
label: "Nitrous Vol"
volumes:
- mount: "/opt"
type: "lv"
name: "nitrous"
size:
generator: "calc_total_vg"
generator_args: ["nitrous"]
file_system: "ext4"