The current doc was outdated and hardcoded, so removing the example from
the doc and add a proper psp.yaml file that people can use and
contribute too.
Closes: https://github.com/rook/rook/issues/3309
Signed-off-by: Sébastien Han <seb@redhat.com>
PR #3217 changed the pod manifest to drop some parameters to the
ceph-csi pods. This also resulted in a change to the operator with CSI
yaml for non-openshift case, but failed to update similar yaml's for
the openshift case.
This commit rectifies this problem.
Updates: #3312
Signed-off-by: ShyamsundarR <srangana@redhat.com>
This commit does multiple things:
* remove support for AllNodes where we would deploy one rgw per node on
all the nodes.
* a transition path is implemented in the code so that if someone has an
existing deployment, daemonsets will be removed and replaced by an
deployments.
* when using "instances", each rgw deployed has its own key which makes
Ceph reporting the exact number of rgw running, see:
```
[root@rook-ceph-operator-775cf575c5-bh4sr /]# ceph -s
cluster:
id: 611fcf39-0669-4864-9a12-debb35c0397a
health: HEALTH_OK
services:
mon: 3 daemons, quorum a,b,c (age 12h)
mgr: a(active, since 12h)
osd: 3 osds: 3 up (since 12h), 3 in (since 12h)
rgw: 3 daemons active (my.store.a, my.store.b, my.store.c)
data:
pools: 6 pools, 600 pgs
objects: 235 objects, 3.8 KiB
usage: 3.0 GiB used, 84 GiB / 87 GiB avail
pgs: 600 active+clean
```
Closes: https://github.com/rook/rook/issues/2474, https://github.com/rook/rook/issues/2957 and https://github.com/rook/rook/issues/3245
Signed-off-by: Sébastien Han <seb@redhat.com>
New versions of ceph csi rbd expect a clusterID that will be used
to index into the config map and determine what mons to use.
Also, remove mons from config example.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Create and maintain a config map that meets the requirements of
the ceph csi such that Rook can maintain the contents of config
map with up-to-date mon information to be used later by csi.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This is a temporary change that fixes the templates so that they match
the so-called "canary" tag in csi. This version of the csi rbd driver
supports a external mon configuration (in a config map).
Signed-off-by: John Mulligan <jmulligan@redhat.com>
Temporary change to support the testing and development of new
integration between ceph csi and rook. This "canary" tag points
at new versions of csi that support taking mon config from a
config map.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
0fc3775b99 added csv-ceph target to Makefile,
but README.md refers to non-existent 'csv' target. This comment aligns
it.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
0fc3775b99 added new Makefile target
'csv-ceph', but printed examples refers to non-existing target 'csv'.
This commit fixes this inconsistency.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
This commit fixes misaligned example values in operator.yaml and adds a
newline at the end of the file, which is considered a good practice.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
With operator-sdk version 0.8.1, default csv file is created with following message:
'INFO[0000] Created deploy/olm-catalog/ceph/1.0.1/ceph.v1.0.1.clusterserviceversion.yaml'
Without this patch, `mv` in the script fails, as default file does not
exist.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
1b21e42a90 introduced a regression, where
podsecuritypolicy resource has been changed from 'extensions' group to
'apps', when it should be changed to 'policy'.
This prevents rook operator from spawning on a cluster with PSP enabled.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
This commit removes one to one mapping of NFS provisioner and adds a dedicated provisioner for nfs.
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
This commit moves claimPath information from annotation to parameters and adds option to enable/disable storageclass creation.
this adds a new operator environment variable that allows automatic
orchestration triggered by device discovery to be disabled.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
1. Add support of `metadataDevice` & `databaseSizeMB` options to
OSDs provisioned by `ceph-volume`.
2. Add `ceph-volume --report` output before the actual run to
provide more info.
Signed-off-by: Ash Wu <hSATAC@gmail.com>
Co-authored-by: Ash Wu <hSATAC@gmail.com>
Co-authored-by: Chia-liang Kao <clkao@clkao.org>