Commit Graph
25 Commits
Author SHA1 Message Date
Blaine Gardner 84166928df ci: update codespell config
Codespell had its first release in a year yesterday and added some
dictionary rules that are now being flagged in our code. Only one
issue required changes to our code, so modify the codespell config to
allow the words we want to allow.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5b0a22ca46)
2022-08-18 09:41:34 -06:00
Travis Nielsen 125e07f653 build: update release version to v1.8.10
For the patch release update the examples and docs to
v1.8.10

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-09 11:22:51 -06:00
Travis Nielsen 351bedeb49 build: update release version to v1.8.9
Update the docs and example manifests for the v1.8.9 release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-21 10:53:56 -06:00
Travis Nielsen 7498048e70 build: update release version to v1.8.8
Updating the example manifests and docs to point to the latest
release v1.8.8.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-03-31 14:41:30 -06:00
Travis Nielsen 3d27eded9e build: set release version to v1.8.7
With the patch release the example manifests and docs are
updated to v1.8.7

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-03-10 14:23:30 -07:00
Humble Chirammal e324059a0d csi: default to ReadWriteOnceWithFSType for cephfs
```
ReadWriteOnceWithFSType: Indicates that volumes will be examined
to determine if volume ownership and permissions should be modified
to match the pod's security policy. Changes will only occur if the
fsType is defined and the persistent volume's accessModes contains
ReadWriteOnce.
```

In between considering we are giving 0777 permission on nodestage
of cephfs shares, we defaulted to NONE. However giving worldwide
permission to the volume is not the right thing and it has been
fixed in cephfs via https://github.com/ceph/ceph-csi/pull/2847

This commit brings it back to the value which is also in parity
with RBD driver.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 6561bdaf53)
2022-02-28 15:05:15 +00:00
Travis Nielsen d15cd5e300 build: update release version to v1.8.6
With the patch release we update the examples and docs to v1.8.6.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-02-24 13:48:17 -07:00
Travis Nielsen e41e081427 build: update release version to v1.8.5
With the patch release the example manifests and docs are
updated to v1.8.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-02-10 11:08:24 -07:00
Mathieu Parent 6c7235943a csi: bump registar image to v2.5.0
Upgrades image:

- k8s.gcr.io/sig-storage/csi-node-driver-registrar: v2.4.0 -> v2.5.0

Detailed changelog:

- https://github.com/kubernetes-csi/node-driver-registrar/blob/v2.5.0/CHANGELOG/CHANGELOG-2.5.md

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
(cherry picked from commit 405dcaadac)
2022-02-10 15:59:48 +00:00
Travis Nielsen 176c10f7ad build: set release version to v1.8.4
With the patch release we update the example manifests to v1.8.4.
At the same time the upgrade tests are updated to use the latest
v1.7.11.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-02-03 15:46:30 -07:00
Madhu Rajanna 1d7fea8f52 csi: bump csi snapshotter image to v5
updating the csi-snapshotter and dependencies
to v5.0.1 released version.

Co-authored-by: Mathieu Parent <mathieu.parent@insee.fr>
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit cf46615688)
2022-01-27 09:32:45 -07:00
Mathieu Parent 2cd55d7bd6 csi: bump csi resizer and volume replication images
Upgraded images:

- k8s.gcr.io/sig-storage/csi-resizer: v1.3.0 -> v1.4.0
- quay.io/csiaddons/volumereplication-operator: v0.1.0 -> v0.3.0

Detailed changelogs:

- https://github.com/kubernetes-csi/external-resizer/blob/release-1.4/CHANGELOG/CHANGELOG-1.4.md
- https://github.com/csi-addons/volume-replication-operator/tree/v0.2.0
- https://github.com/csi-addons/volume-replication-operator/tree/v0.3.0

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
(cherry picked from commit 88a449d09c)
2022-01-27 09:05:16 -07:00
Travis Nielsen c0e46c5721 build: update the release version to v1.8.3
With the patch release the example manifests and docs are updated to v1.8.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-01-21 11:57:49 -07:00
Madhu Rajanna 64641a6ce8 csi: update cephcsi to 3.5.1 release
This PR updates the cephcsi version from
3.5.0 to 3.5.1 which includes minor fixes

fixes: #9619

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 39825f2302)
2022-01-21 18:30:10 +00:00
yati1998 aadd5f7ef8 csi: updates the default csi-addons image
This commit updates the csi-addons image version
from v0.1.0 to v0.2.1.
Also, this updates the staging path from
{{ .KubeletDirPath }}/plugins/kubernetes.io/csi/pv/ to
{{ .KubeletDirPath }}/plugins/kubernetes.io/csi/.

This changes is done as the reclaimspace on block mode
was not working.
For more details:
 https://github.com/csi-addons/kubernetes-csi-addons/pull/97

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit 07c5fc7e46)
2022-01-21 14:17:14 +00:00
yati1998 a399615828 csi: implement csi-addons sidecar
This commit implements the csi-addons sidecar.

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit 2b92dc812c)
2022-01-18 16:55:25 +00:00
Humble Chirammal b94b6cc84d csi: update sidecar to the latest releases
Below sidecars are updated to the latest releases with this commit.

csi-provisioner      : 3.1.0
csi-attacher         : 3.4.0
node-driver-registrar: 2.4.0

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit b7584f3007)
2022-01-18 11:17:07 +00:00
Humble Chirammal 3eb97c8c6b csi: update ceph csi images to release 3.5.0
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit e8d9884f05)
2022-01-18 11:17:07 +00:00
Travis Nielsen ecb91628e2 build: update release version to v1.8.2
With the patch release the examples and docs are updated to v1.8.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-01-06 10:15:13 -07:00
Blaine Gardner d27303a074 build: update examples and manifests for v1.8.1
Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2021-12-16 13:41:52 -07:00
Travis Nielsen d757c6bf13 build: update the release version to v1.8.0
The minor release v1.8.0 is ready to go! This updates the
example manifests and documents to point to the latest
release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-12-09 12:52:49 -07:00
parth-gr f8a7c5bcb4 core: create rook resources with k8s recommended labels
Adding Recommended Labels on the resources created by rook
    and using Recommended Labels in the helm chart,
    for better visuals and management of k8s object

Closes: https://github.com/rook/rook/issues/8400
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 0a86d26b2e)
2021-12-07 18:54:28 +00:00
Travis Nielsen 7b9b30a7d9 build: set release version to v1.8.0-beta.0
For the new 1.8 branch we create the new v1.8.0-beta.0 manifests
and doc updates.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2021-12-01 15:23:28 -07:00
Humble Chirammal e5f5d9be9f csi: mount host's /etc/selinux in node plugins
This commit introduces a new configuration option for
ceph csi driver to enable hostpath mounting of /etc/selinux
directory from the cluster node where csi plugin pods are
running, which inturn help the csi driver to specify
selinux-related mount options like context.

Ref# https://github.com/ceph/ceph-csi/issues/2295

The default value for this configuration is true and if cluster
nodes are running without selinux enabled, an admin can deploy
csi pods by specifying this option to `false` which skip the
host path mounting for the csi pods.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2021-12-01 11:13:26 +05:30
Sébastien Han c890710b63 core: change directory layout
As per discussion, proposing a new layout for the charts/yaml/olm files.

./deploy
├── charts
│   ├── rook-ceph
│   │   └── templates
│   └── rook-ceph-cluster
│       └── templates
├── examples
│   ├── csi
│   │   ├── cephfs
│   │   └── rbd
│   ├── flex
│   ├── monitoring
│   ├── pre-k8s-1.16
└── olm
    └── assemble

Signed-off-by: Sébastien Han <seb@redhat.com>
2021-11-30 09:12:53 +01:00