Skip to content

Commit

Permalink
metadata: Add security.shared for volumes
Browse files Browse the repository at this point in the history
Signed-off-by: hamistao <[email protected]>
  • Loading branch information
hamistao committed Apr 15, 2024
1 parent f4e4fb9 commit 1dff117
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 0 deletions.
63 changes: 63 additions & 0 deletions doc/config_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4342,6 +4342,15 @@ prior to creating the storage pool.

<!-- config group storage-btrfs-pool-conf end -->
<!-- config group storage-btrfs-volume-conf start -->
```{config:option} security.shared storage-btrfs-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-btrfs-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down Expand Up @@ -4497,6 +4506,15 @@ If not set, `ext4` is assumed.

```

```{config:option} security.shared storage-ceph-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-ceph-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down Expand Up @@ -4637,6 +4655,15 @@ when creating a missing OSD pool.

<!-- config group storage-cephfs-pool-conf end -->
<!-- config group storage-cephfs-volume-conf start -->
```{config:option} security.shared storage-cephfs-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-cephfs-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down Expand Up @@ -4776,6 +4803,15 @@ to be placed on the socket I/O.

<!-- config group storage-dir-pool-conf end -->
<!-- config group storage-dir-volume-conf start -->
```{config:option} security.shared storage-dir-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-dir-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down Expand Up @@ -4962,6 +4998,15 @@ If not set, `ext4` is assumed.
The size must be at least 4096 bytes, and a multiple of 512 bytes.
```

```{config:option} security.shared storage-lvm-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-lvm-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down Expand Up @@ -5140,6 +5185,15 @@ If not set, `ext4` is assumed.

```

```{config:option} security.shared storage-powerflex-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-powerflex-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down Expand Up @@ -5285,6 +5339,15 @@ If not set, `ext4` is assumed.

```

```{config:option} security.shared storage-zfs-volume-conf
:condition: "custom block volume"
:defaultdesc: "same as `volume.security.shared` or `false`"
:shortdesc: "Enable volume sharing"
:type: "bool"
Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.

```

```{config:option} security.shifted storage-zfs-volume-conf
:condition: "custom volume"
:defaultdesc: "same as `volume.security.shifted` or `false`"
Expand Down
63 changes: 63 additions & 0 deletions lxd/metadata/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -4900,6 +4900,15 @@
},
"volume-conf": {
"keys": [
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down Expand Up @@ -5068,6 +5077,15 @@
"type": "string"
}
},
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down Expand Up @@ -5216,6 +5234,15 @@
},
"volume-conf": {
"keys": [
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down Expand Up @@ -5372,6 +5399,15 @@
},
"volume-conf": {
"keys": [
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down Expand Up @@ -5570,6 +5606,15 @@
"type": "string"
}
},
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down Expand Up @@ -5760,6 +5805,15 @@
"type": "string"
}
},
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down Expand Up @@ -5909,6 +5963,15 @@
"type": "string"
}
},
{
"security.shared": {
"condition": "custom block volume",
"defaultdesc": "same as `volume.security.shared` or `false`",
"longdesc": "Enabling this option allows sharing the volume across multiple instances despite the possibility of data loss.\n",
"shortdesc": "Enable volume sharing",
"type": "bool"
}
},
{
"security.shifted": {
"condition": "custom volume",
Expand Down

0 comments on commit 1dff117

Please sign in to comment.