Commit Graph
8504 Commits
Author SHA1 Message Date
mergify[bot] 8e38edd718 Merge pull request #10102 from rook/mergify/bp/release-1.9/pr-10094
build: update golang version to v1.17 (backport #10094)
2022-04-19 20:27:39 +00:00
Travis Nielsen b2815830c4 Merge pull request #10103 from rook/mergify/bp/release-1.9/pr-10074
csi: make GRPC timeout configurable (backport #10074)
2022-04-19 14:09:12 -06:00
mergify[bot] 98e80a65d7 Merge pull request #10106 from rook/mergify/bp/release-1.9/pr-10089
helm: fix missing default resources in rook components (backport #10089)
2022-04-19 17:02:26 +00:00
Yuval Manor dcb457e155 helm: fix missing default resources in rook components
1. Add csi-snapshotter resources for csiCephFSProvisioner
2. Add csi-omap-generator resources for csiRBDProvisioner (only is omap generator is enabled)

Closes: https://github.com/rook/rook/issues/10083
Signed-off-by: Yuval Manor <yuvalman958@gmail.com>
(cherry picked from commit 5f01456dae)
2022-04-19 16:34:58 +00:00
mergify[bot] b56c959350 Merge pull request #10092 from rook/mergify/bp/release-1.9/pr-10088
osd: Enable quincy osd release version (backport #10088)
2022-04-19 14:12:29 +00:00
Madhu Rajanna b85c79f9df csi: make GRPC timeout configurable
setting the GRPC timeout configurable helps
in some cases where ceph cluster takes more time
to respond.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 54de442e22)
2022-04-19 13:55:22 +00:00
mergify[bot] 85d00546d0 Merge pull request #10101 from rook/mergify/bp/release-1.9/pr-10099
block: validate updating names in BlockPool CR (backport #10099)
2022-04-19 13:33:03 +00:00
subhamkrai 5ad92bd548 build: update golang version to v1.17
update golang version to v1.17

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 81d696652d)
2022-04-19 13:25:59 +00:00
Madhu Rajanna 9f0281a40e block: validate updating name in BlockPool CR
Currently we are allowing users to change the name
of the pool to be created in the BlockPool CR. with
this we have a bug of leaving stale resources in the
cluster. With new changes we are blocking the update
of the pool name in the BlockPool CR.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 99224ad102)
2022-04-19 13:05:33 +00:00
mergify[bot] 8dc44f688b Merge pull request #10098 from rook/mergify/bp/release-1.9/pr-10093
helm: add ingressClassName field (backport #10093)
2022-04-18 18:16:28 +00:00
log1cb0mb 83d53b66f5 helm: add ingressClassName field
Add support for .spec.ingressClassName field

Signed-off-by: log1cb0mb <nabeelnrana@gmail.com>
(cherry picked from commit be905e6d6c)
2022-04-18 17:49:34 +00:00
Travis Nielsen 9b2bef7334 osd: enable quincy osd release version
After all OSDs are updated to each major release of Ceph, the
require-osd-release version is set to that release so all the latest
functionality for osds can be enabled by Ceph. In Quincy there is
a warning if all osds are on Quincy and this flag is not set, so
this will resolve the health warning.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 03b0546fec)
2022-04-15 14:46:59 +00:00
Blaine Gardner 91cd9ac3bb Merge pull request #10087 from BlaineEXE/bp-10078-manually
docs: add info about mounting NFS exports externally (backport #10078)
2022-04-14 12:31:54 -06:00
mergify[bot] a6b0e33699 Merge pull request #10080 from rook/mergify/bp/release-1.9/pr-10071
csi: enable csi nfs to generate nfs rbac for csv (backport #10071)
2022-04-14 18:13:07 +00:00
Blaine Gardner f87e13c5cf docs: add info about mounting NFS exports externally
Add some information to NFS docs about how LoadBalancer Service endpoint
and PersistentVolume share field can be used when mounting NFS exports
manually.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit fa27b994c4)
2022-04-14 11:57:06 -06:00
mergify[bot] bb7e6fe5c7 Merge pull request #10069 from rook/mergify/bp/release-1.9/pr-10014
docs: update NFS docs including latest CSI work (backport #10014)
2022-04-14 17:30:33 +00:00
mergify[bot] a0ba88e8c6 Merge pull request #10063 from rook/mergify/bp/release-1.9/pr-10058
build: generate a separate NFS CSI RBAC manifest (backport #10058)
2022-04-14 17:08:23 +00:00
Blaine Gardner bd10a5903d Merge pull request #10081 from rook/revert-10079-mergify/bp/release-1.9/pr-10078
Revert "docs: add info about mounting NFS exports externally (backport #10078)"
2022-04-14 10:28:03 -06:00
Blaine Gardner 168786427d Merge pull request #10077 from rook/mergify/bp/release-1.9/pr-10076
docs: fix nfs permission on openshift example (backport #10076)
2022-04-14 10:27:15 -06:00
Blaine Gardner 7d293c0f4e Revert "docs: add info about mounting NFS exports externally (backport #10078)"
Mergify automatically backported this despite merge conflicts.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
2022-04-14 10:22:19 -06:00
mergify[bot] 81b12fea22 Merge pull request #10079 from rook/mergify/bp/release-1.9/pr-10078
docs: add info about mounting NFS exports externally (backport #10078)
2022-04-14 16:13:18 +00:00
Blaine Gardner 96cbb34a07 build: generate a separate NFS CSI RBAC manifest
Because the NFS CSI driver is optional and rarely deployed, make RBAC
for this driver an optional example that is generated by the helm chart.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit bca2f128ab)
2022-04-14 10:10:41 -06:00
Rakshith R c9d0dcf90c csi: enable csi nfs to generate nfs rbac for csv
This commit enables csi.nfs during rbac generation
for csv, so that it can used when deployed with olm.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 762f75062f)
2022-04-14 15:53:25 +00:00
Blaine Gardner 9dd8e00c46 docs: add info about mounting NFS exports externally
Add some information to NFS docs about how LoadBalancer Service endpoint
and PersistentVolume share field can be used when mounting NFS exports
manually.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit fa27b994c4)

# Conflicts:
#	Documentation/ceph-nfs-crd.md
2022-04-14 15:44:29 +00:00
Blaine Gardner 3665a1dec3 docs: fix nfs permission on openshift example
Fix a small permission (RBAC) issue with the operator-on-openshift.yaml
example's SecurityContextConstraint. A ServiceAccount reference for the
Ceph CSI NFS provisioner was missing.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 1311bf870a)
2022-04-14 14:44:00 +00:00
mergify[bot] 92358e374c Merge pull request #10055 from rook/mergify/bp/release-1.9/pr-9927
csi: add nfs nodeplugin & provisioner (backport #9927)
2022-04-14 14:42:20 +00:00
Blaine Gardner 8e7bb14fdf docs: update NFS docs including latest CSI work
Update the NFS docs with the latest available info for Ceph Quincy
including the CSI provisioner driver.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit a950feb01e)
2022-04-13 22:24:23 +00:00
Travis Nielsen f3a44ece6b Merge pull request #10068 from travisn/release-1.9.0
build: Update release version to v1.9.0
v1.9.0
2022-04-13 16:22:32 -06:00
Travis Nielsen 7e7f46a471 build: update release version to v1.9.0
With the minor release we update manifest versions
and documentation to v1.9.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-13 15:52:25 -06:00
Travis Nielsen 6c705464ad Merge pull request #10067 from rook/mergify/bp/release-1.9/pr-10066
docs: Clarify helm install documentation (backport #10066)
2022-04-13 15:38:42 -06:00
Travis Nielsen 372eee6390 docs: clarify helm install documentation
Update the formatting so third-level headers are more visible,
sections are more consistent between the operator and cluster
chart docs, and a few other minor updates.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 0acf7d616c)
2022-04-13 21:22:05 +00:00
mergify[bot] a3dc540b28 Merge pull request #10065 from rook/mergify/bp/release-1.9/pr-10046
ceph: add webhooks to reject update on subvolume group and radosnamespace (backport #10046)
2022-04-13 17:35:12 +00:00
Madhu Rajanna 30d8f61275 build: provide 775 permission for deploy_cert_manager.sh
provided 775 permission like other scripts for
deploy_cert_manager.sh

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 4425ef1ce2)
2022-04-13 17:06:45 +00:00
Madhu Rajanna 1d8aa05a23 subvolumegroup: add webhook for subvolumegroup
As we are not suppose to update the filesystem name
once the subvolumegroup is created.
added webhook validation for subvolumegroup update.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 74c4397973)
2022-04-13 17:06:45 +00:00
Madhu Rajanna c0697432fd namespace: add webhook for radosnamespace
As we are not suppose to update the pool name
once the rados namespace is created.
added webhook validation for radosnamespace
update.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 6aea438288)
2022-04-13 17:06:44 +00:00
Madhu Rajanna 106171a68e core: add code to update the webhook configurations
As we are adding new webhook configuration we
need to update the webhooks validations.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 024c034a95)
2022-04-13 17:06:44 +00:00
Travis Nielsen 20aa0dfa5c Merge pull request #10052 from rook/mergify/bp/release-1.9/pr-10003
core: support arbitrary node affinity inputs (backport #10003)
2022-04-13 08:43:29 -06:00
Travis Nielsen 1b6cf7259b Merge pull request #10047 from rook/mergify/bp/release-1.9/pr-9903
csi: update multus design to mitigate csi-plugin pod restart (backport #9903)
2022-04-13 08:43:01 -06:00
Travis Nielsen 93ab24a878 Merge pull request #10041 from rook/mergify/bp/release-1.9/pr-10027
helm: Correctly check external cluster for prometheus rules (backport #10027)
2022-04-13 08:40:46 -06:00
Travis Nielsen 651e46ed65 Merge pull request #10051 from rook/mergify/bp/release-1.9/pr-10048
ci: add multus integration test (backport #10048)
2022-04-13 08:40:16 -06:00
Travis Nielsen a54923b891 Merge pull request #10050 from rook/mergify/bp/release-1.9/pr-10043
core: refactor webhook config (backport #10043)
2022-04-13 08:40:00 -06:00
Travis Nielsen 2386c22de9 Merge pull request #10049 from rook/mergify/bp/release-1.9/pr-10042
docs: Consistent toc headers for crds (backport #10042)
2022-04-13 08:39:47 -06:00
Blaine Gardner 46427dda6b Merge pull request #10057 from rook/mergify/bp/release-1.9/pr-10054
nfs: create config pool automatically (backport #10054)
2022-04-12 16:55:40 -06:00
Blaine Gardner 727d6dcf53 nfs: create config pool by default
Create the ".nfs" config pool by default so that users aren't required
to create it via CephBlockPool.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 254a7adb4c)
2022-04-12 19:33:10 +00:00
Blaine Gardner f72b2fa67b Merge pull request #10056 from rook/mergify/bp/release-1.9/pr-10053
pool: built-in pools must be replicated (backport #10053)
2022-04-12 13:32:39 -06:00
Blaine Gardner 0a1bbfed67 pool: built-in pools must be replicated
Built in Ceph pools (device_health_metrics, .mgr, .nfs) must be
replicated and not erasure coded.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit bcd5b66e43)
2022-04-12 17:55:26 +00:00
Rakshith R 3b82609b23 csi: add nfs example yamls
This commit adds example nfs storageclass,
pvc and pod yamls.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit f1953314d4)
2022-04-12 17:38:34 +00:00
Rakshith R d402f8b286 csi: add nfs provisioner deployment
This commit adds nfs provisioner deployment.
This will allow rook to deploy nfs provisioner
which can create backend cephfs subvolumes to be
exported as nfs volumes.

refer:
https://github.com/ceph/ceph-csi/blob/devel/docs/design/proposals/nfs.md

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 5f48ad8026)
2022-04-12 17:38:34 +00:00
Rakshith R 7eead51c6f csi: add nfs nodeplugin daemonset
This commit adds nfs nodeplugin daemonset.
This will allow rook to deploy nfs nodeplugin
which can mount/unmount nfs volumes.

refer:
- https://github.com/ceph/ceph-csi/blob/devel/docs/design/proposals/nfs.md
- https://github.com/kubernetes-csi/csi-driver-nfs

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 34162c3dc5)
2022-04-12 17:38:34 +00:00
Pranshu Srivastava 750e8efdc3 core: support arbitrary node affinity inputs
Adds support for valid arbitrary NodeAffinity JSON input by the user while
maintaining backward compatibility with the older parsing code.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
(cherry picked from commit 6e49a090a3)
2022-04-12 16:32:32 +00:00