mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository. Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
45 lines
857 B
HCL
45 lines
857 B
HCL
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
id = "testvolume"
|
|
name = "test1"
|
|
type = "csi"
|
|
plugin_id = "cephrbd"
|
|
|
|
capacity_min = "100MB"
|
|
capacity_max = "1GB"
|
|
|
|
capability {
|
|
access_mode = "single-node-writer"
|
|
attachment_mode = "file-system"
|
|
}
|
|
|
|
capability {
|
|
access_mode = "single-node-writer"
|
|
attachment_mode = "block-device"
|
|
}
|
|
|
|
# mount_options {
|
|
# fs_type = "ext4"
|
|
# mount_flags = ["ro"]
|
|
# }
|
|
|
|
|
|
# creds should be coming from:
|
|
# /var/lib/ceph/mds/ceph-demo/keyring
|
|
|
|
# but instead we're getting them from:
|
|
# /etc/ceph/ceph.client.admin.keyring
|
|
|
|
secrets {
|
|
userID = "admin"
|
|
userKey = "AQDsIoxgHqpeBBAAtmd9Ndu4m1xspTbvwZdIzA=="
|
|
}
|
|
|
|
parameters {
|
|
# seeded from uuid5(ceph.example.com)
|
|
clusterID = "e9ba69fa-67ff-5920-b374-84d5801edd19"
|
|
pool = "rbd"
|
|
imageFeatures = "layering"
|
|
}
|