Commit Graph
8497 Commits
Author SHA1 Message Date
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
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
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
Sébastien Han 8f083d68a7 ci: add multus integration test
This new integration test will deploy a cluster with multus enabled. It
will be comprised of two network interfaces for ceph public and cluster
communications.
For now, it only deploys a Ceph cluster up to the OSDs.

Closes: https://github.com/rook/rook/issues/9784
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 2c09bbb91b)
2022-04-12 16:23:40 +00:00
subhamkrai 3eb5f0c7b8 core: refactor webhook config
refactor validating webhook config.

Closes: https://github.com/rook/rook/issues/10025
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 948e2851dc)
2022-04-12 15:45:49 +00:00
Travis Nielsen 6fda072613 docs: consistent toc headers for crds
The titles for the CRD documentation pages in the table
of contents were not consistent. The full name for the CRD
can be included in the full doc page, but in the TOC
we abbreviate the names for simplicity and readability.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a71e361cef)
2022-04-12 14:42:08 +00:00
Sébastien Han 1effc85c0a csi: update multus design to mitigate csi-plugin pod restart
This is the latest version of the design to mitigate the bug encountered
when restarting the `csi-plugin` pod.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 77c955a151)
2022-04-12 13:49:42 +00:00
Travis Nielsen 101c25cb63 helm: correctly check external cluster for prometheus rules
When the prometheus rules are created, if external settings
were not specified, the helm chart would fail due to a nil ref
in the external settings. Now we check both for the existence
of external settings and whether the external settings are enabled.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 257dc61391)
2022-04-11 17:59:25 +00:00
Travis Nielsen a9dac1b5fa Merge pull request #10038 from rook/mergify/bp/release-1.9/pr-10035
osd: only set kek to env var on encryption scenario (backport #10035)
2022-04-11 11:47:36 -06:00
Travis Nielsen 55969c6787 Merge pull request #10036 from rook/mergify/bp/release-1.9/pr-9934
core: start admission controller without any script (backport #9934)
2022-04-11 11:47:08 -06:00