Skip to content

Commit 86418b7

Browse files
authored
Merge pull request #217 from Madhu-1/fix-enable-selinux
fix: correct the json tag
2 parents 910b2de + 45a7e5a commit 86418b7

File tree

7 files changed

+33
-33
lines changed

7 files changed

+33
-33
lines changed

api/v1alpha1/driver_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ type NodePluginSpec struct {
174174

175175
// Control the host mount of /etc/selinux for csi plugin pods. Defaults to false
176176
//+kubebuilder:validation:Optional
177-
EnableSeLinuxHostMount *bool `json:"EnableSeLinuxHostMount,omitempty"`
177+
EnableSeLinuxHostMount *bool `json:"enableSeLinuxHostMount,omitempty"`
178178
// Topology settings for the plugin pods
179179
//+kubebuilder:validation:Optional
180180
Topology *TopologySpec `json:"topology,omitempty"`

config/crd/bases/csi.ceph.io_drivers.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3639,10 +3639,6 @@ spec:
36393639
nodePlugin:
36403640
description: Driver's plugin configuration
36413641
properties:
3642-
EnableSeLinuxHostMount:
3643-
description: Control the host mount of /etc/selinux for csi plugin
3644-
pods. Defaults to false
3645-
type: boolean
36463642
affinity:
36473643
description: Pod's affinity settings
36483644
properties:
@@ -4575,6 +4571,10 @@ spec:
45754571
type: string
45764572
description: Pod's annotations
45774573
type: object
4574+
enableSeLinuxHostMount:
4575+
description: Control the host mount of /etc/selinux for csi plugin
4576+
pods. Defaults to false
4577+
type: boolean
45784578
imagePullPolicy:
45794579
description: To indicate the image pull policy to be applied to
45804580
all the containers in the csi driver pods.

config/crd/bases/csi.ceph.io_operatorconfigs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3679,10 +3679,6 @@ spec:
36793679
nodePlugin:
36803680
description: Driver's plugin configuration
36813681
properties:
3682-
EnableSeLinuxHostMount:
3683-
description: Control the host mount of /etc/selinux for csi
3684-
plugin pods. Defaults to false
3685-
type: boolean
36863682
affinity:
36873683
description: Pod's affinity settings
36883684
properties:
@@ -4620,6 +4616,10 @@ spec:
46204616
type: string
46214617
description: Pod's annotations
46224618
type: object
4619+
enableSeLinuxHostMount:
4620+
description: Control the host mount of /etc/selinux for csi
4621+
plugin pods. Defaults to false
4622+
type: boolean
46234623
imagePullPolicy:
46244624
description: To indicate the image pull policy to be applied
46254625
to all the containers in the csi driver pods.

deploy/all-in-one/install.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3889,10 +3889,6 @@ spec:
38893889
nodePlugin:
38903890
description: Driver's plugin configuration
38913891
properties:
3892-
EnableSeLinuxHostMount:
3893-
description: Control the host mount of /etc/selinux for csi plugin
3894-
pods. Defaults to false
3895-
type: boolean
38963892
affinity:
38973893
description: Pod's affinity settings
38983894
properties:
@@ -4825,6 +4821,10 @@ spec:
48254821
type: string
48264822
description: Pod's annotations
48274823
type: object
4824+
enableSeLinuxHostMount:
4825+
description: Control the host mount of /etc/selinux for csi plugin
4826+
pods. Defaults to false
4827+
type: boolean
48284828
imagePullPolicy:
48294829
description: To indicate the image pull policy to be applied to
48304830
all the containers in the csi driver pods.
@@ -10784,10 +10784,6 @@ spec:
1078410784
nodePlugin:
1078510785
description: Driver's plugin configuration
1078610786
properties:
10787-
EnableSeLinuxHostMount:
10788-
description: Control the host mount of /etc/selinux for csi
10789-
plugin pods. Defaults to false
10790-
type: boolean
1079110787
affinity:
1079210788
description: Pod's affinity settings
1079310789
properties:
@@ -11725,6 +11721,10 @@ spec:
1172511721
type: string
1172611722
description: Pod's annotations
1172711723
type: object
11724+
enableSeLinuxHostMount:
11725+
description: Control the host mount of /etc/selinux for csi
11726+
plugin pods. Defaults to false
11727+
type: boolean
1172811728
imagePullPolicy:
1172911729
description: To indicate the image pull policy to be applied
1173011730
to all the containers in the csi driver pods.

deploy/charts/ceph-csi-operator/templates/driver-crd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3636,10 +3636,6 @@ spec:
36363636
nodePlugin:
36373637
description: Driver's plugin configuration
36383638
properties:
3639-
EnableSeLinuxHostMount:
3640-
description: Control the host mount of /etc/selinux for csi plugin
3641-
pods. Defaults to false
3642-
type: boolean
36433639
affinity:
36443640
description: Pod's affinity settings
36453641
properties:
@@ -4571,6 +4567,10 @@ spec:
45714567
type: string
45724568
description: Pod's annotations
45734569
type: object
4570+
enableSeLinuxHostMount:
4571+
description: Control the host mount of /etc/selinux for csi plugin
4572+
pods. Defaults to false
4573+
type: boolean
45744574
imagePullPolicy:
45754575
description: To indicate the image pull policy to be applied to
45764576
all the containers in the csi driver pods.

deploy/charts/ceph-csi-operator/templates/operatorconfig-crd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3666,10 +3666,6 @@ spec:
36663666
nodePlugin:
36673667
description: Driver's plugin configuration
36683668
properties:
3669-
EnableSeLinuxHostMount:
3670-
description: Control the host mount of /etc/selinux for csi
3671-
plugin pods. Defaults to false
3672-
type: boolean
36733669
affinity:
36743670
description: Pod's affinity settings
36753671
properties:
@@ -4603,6 +4599,10 @@ spec:
46034599
type: string
46044600
description: Pod's annotations
46054601
type: object
4602+
enableSeLinuxHostMount:
4603+
description: Control the host mount of /etc/selinux for csi
4604+
plugin pods. Defaults to false
4605+
type: boolean
46064606
imagePullPolicy:
46074607
description: To indicate the image pull policy to be applied
46084608
to all the containers in the csi driver pods.

deploy/multifile/crd.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3880,10 +3880,6 @@ spec:
38803880
nodePlugin:
38813881
description: Driver's plugin configuration
38823882
properties:
3883-
EnableSeLinuxHostMount:
3884-
description: Control the host mount of /etc/selinux for csi plugin
3885-
pods. Defaults to false
3886-
type: boolean
38873883
affinity:
38883884
description: Pod's affinity settings
38893885
properties:
@@ -4816,6 +4812,10 @@ spec:
48164812
type: string
48174813
description: Pod's annotations
48184814
type: object
4815+
enableSeLinuxHostMount:
4816+
description: Control the host mount of /etc/selinux for csi plugin
4817+
pods. Defaults to false
4818+
type: boolean
48194819
imagePullPolicy:
48204820
description: To indicate the image pull policy to be applied to
48214821
all the containers in the csi driver pods.
@@ -10775,10 +10775,6 @@ spec:
1077510775
nodePlugin:
1077610776
description: Driver's plugin configuration
1077710777
properties:
10778-
EnableSeLinuxHostMount:
10779-
description: Control the host mount of /etc/selinux for csi
10780-
plugin pods. Defaults to false
10781-
type: boolean
1078210778
affinity:
1078310779
description: Pod's affinity settings
1078410780
properties:
@@ -11716,6 +11712,10 @@ spec:
1171611712
type: string
1171711713
description: Pod's annotations
1171811714
type: object
11715+
enableSeLinuxHostMount:
11716+
description: Control the host mount of /etc/selinux for csi
11717+
plugin pods. Defaults to false
11718+
type: boolean
1171911719
imagePullPolicy:
1172011720
description: To indicate the image pull policy to be applied
1172111721
to all the containers in the csi driver pods.

0 commit comments

Comments
 (0)