Commit Graph
190 Commits
Author SHA1 Message Date
Gaurav Sitlani 9ee2df6f2b docs: cephfs mirroring updates around peer tokens
This commit updates the CephFS mirroring documentation
around Peer tokens to get the token created correctly.

Signed-off-by: Gaurav Sitlani <gauravsitlani@riseup.net>
(cherry picked from commit 27f2098ad9)
2022-07-27 16:26:02 +00:00
Travis Nielsen 54e570a9a3 build: update release version to v1.9.8
For the patch release the operator version and example manifests are
updated to v1.9.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-26 12:37:16 -06:00
Travis Nielsen 42029d2b8f Merge pull request #10599 from rook/mergify/bp/release-1.9/pr-10590
examples: fix secrets naming import-external-cluster.sh script (backport #10590)
2022-07-26 11:52:46 -06:00
subhamkrai b60df9309b ci: use ceph v17.2.1 instead of latest v17
there could be something breaking with latest ceph.
So, let's stick to v17.2.1.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4501cc25c6)
2022-07-25 12:41:12 -06:00
Travis Nielsen 4ca6a88c49 build: update examples to ceph v16.2.10
With the release of ceph v16.2.10 we update the operator base
image and the default example install to configure v16.2.10.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-25 12:28:00 -06:00
Josh Soref 224944dba8 core: fix spelling
* another
* are
* availability
* available
* bootstrap
* boundaries
* ceph
* certificate
* class
* codifies
* consuming
* corrupted
* createor
* csi
* deployments
* exceeded
* execute
* filesystem
* healthiness
* heuristics
* immediately
* insecure
* installed
* isolated
* maintained
* maximum
* minute
* monitor
* new
* nginx
* nonexistent
* not
* occurs
* omitempty
* operator
* orchestration
* persistentvolumes
* placement
* preexisting
* prometheus
* protecting
* provisioner
* purposes
* reconcile
* regex
* related
* requests
* returns
* rubbish
* running
* schedulable
* schedule
* serviceaccount
* simulating
* snapshots
* statement
* static
* tenants
* the
* unavailable
* volumeattachment
* waiting
* with
* wrapper
* zonegroup

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
(cherry picked from commit 6e7b8767f3)
2022-07-15 08:41:11 -06:00
zhucan 5e5b1cac49 object: generated code
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit 6f6c26009c)
2022-07-14 17:21:48 +00:00
Ali, Akil 33327fc4c7 external: fix secrets naming
The secrets are being created with "rook-" prefix, but used without it.
Signed-off-by: Ali, Akil <ali-akil@gmx.de>
(cherry picked from commit 25265bc9c2)
2022-07-14 16:44:46 +00:00
Travis Nielsen c61f909bea build: set release version to v1.9.7
For the patch release the examples and documentation are updated
to v1.9.7.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-07 13:04:45 -06:00
Travis Nielsen 53e51db44a Merge pull request #10554 from rook/mergify/bp/release-1.9/pr-10547
manifest: use `Recreate` strategy for operator upgrade (backport #10547)
2022-07-07 10:48:10 -06:00
parth-gr d6a4187bdd csi: add support for subvolumegroup and rados namespace
Using subvolume group and rados namespace for external deployment
was complicated and not documented,
Automating the process for the users, so they just need to pass
the respective names by cli flag for creation

Closes: rook#10427

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit c9a864ccdb)
Signed-off-by: parth-gr <paarora@redhat.com>
2022-07-06 19:15:04 +05:30
Santosh Pillai cd9333394f manifest: use Recreate strategy for operator upgrade
Use `Recreate` strategy instead of `RollingUpdate` for
rook-ceph-operator deployement upgrade

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 693c2d9306)
2022-07-05 17:41:41 +00:00
Travis Nielsen c48c68c07c build: update release version to v1.9.6
The patch release is updated in the docs and examples to v1.9.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-23 14:10:46 -06:00
Rakshith R 54bf464c56 csi: add token create rbac for rbd csi clusterrole
This rbac is required to fetch serviceaccount
token for vault tenant sa encryption type on k8s 1.24+.
refer: https://github.com/ceph/ceph-csi/pull/3174

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 623c5159d5)
2022-06-19 02:42:02 +00:00
Niels de Vos 217dd10e3c csi: update CSI-Addons side-car to latest (v0.4.0) release
A new version of the CSI-Addons side-car has been released, fixing
several bugs and adding small enhancements.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.4.0
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 5dbb9a919d)
2022-06-16 17:41:31 +00:00
parth-gr 82cdc5b94e csi: make storage class updated with csi-users in external cluster
For using restricted auth users we need to update the
restricted users in the Storage class, so updating
it in the json output for external cluster

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b7c165b411)
Signed-off-by: parth-gr <paarora@redhat.com>
2022-06-13 18:30:07 +05:30
parth-gr 5ac9624e80 csi: update restricted auth flag
remove the restriction of per rados namespace as
there can be multiple namespaces and the csi-users
can only have 1 type in a storage class

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit dcba689129)
2022-06-13 18:24:42 +05:30
Humble Chirammal b439d46d27 mon: update node labels as per new key value
From kube v1.24 onwards, Kubeadm applies a "node-role" label to its
control plane Nodes.Currently this label key is node-role.kubernetes.io/master
and it will be renamed to node-role.kubernetes.io/control-plane. Kubeadm
also uses the same "node-role" as key for a taint it applies on control
plane Nodes. This taint key should also be renamed to
"node-role.kubernetes.io/control-plane".

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 750faa5747)
2022-06-10 14:03:58 +00:00
Travis Nielsen 6d78b414dd build: update release version to v1.9.5
For the patch release update the examples and docs
to v1.9.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-09 11:26:29 -06:00
Travis Nielsen 4c7333624b Merge pull request #10426 from rook/mergify/bp/release-1.9/pr-10424
csi: update cephcsi from 3.6.1 to 3.6.2 (backport #10424)
2022-06-09 09:53:38 -06:00
Madhu Rajanna c52b8aa759 csi: update cephcsi from 3.6.1 to 3.6.2
As we have new cephcsi patch release i.e v3.6.2
updating Rook dependency to the same.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 3e70d278cb)
2022-06-09 09:01:16 -06:00
subhamkrai 5ebc27c0a0 core: format python files using tool black
`black` is python formatter tool which
automatically formats python files without
manual changing. just run `black <python-file>`
and done.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 00f21c0866)
Signed-off-by: subhamkrai <srai@redhat.com>
2022-06-09 13:10:17 +05:30
subhamkrai e5eadcf1e2 core: clean the import section
import all the libraries at top.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c8f11f3e62)
2022-06-09 12:17:41 +05:30
subhamkrai 6b119d6920 core: remove signature import
remove signature import as it is not required.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 60bf1f6e1c)
2022-06-09 12:17:33 +05:30
Madhu Rajanna 62e3665a8d csi: update sidecar to latest release
updating node-driver-registrar to v2.5.1 release
, nfsplugin to 4.0.0 and csi-snapshotter to v6.0.1

Note:- with snapshotter v6.0.1 v1beta1 snapshot CRD
is not supported. If you want betav1 snapshot support
please switch to v5.x.x snapshotter.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 767cfcbf09)
2022-06-07 12:43:22 -06:00
Madhu Rajanna d15d61e44e csi: change sidecar images repo to new link
Change sidecar images repo to registry.k8s.io
which is a redirect to k8s.gcr.io.

Ref: https://github.com/kubernetes/k8s.io/wiki/
New-Registry-url-for-Kubernetes-(registry.k8s.io)

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 15da42cf0c)
2022-06-06 12:50:03 -06:00
Travis Nielsen 43cb1b46bf Merge pull request #10379 from rook/mergify/bp/release-1.9/pr-10309
rgw: make fqdn rgw converted to ip everywhere (backport #10309)
2022-06-03 09:19:03 -06:00
Travis Nielsen de73d40bae Merge pull request #10367 from rook/mergify/bp/release-1.9/pr-10345
docs: add prepareosd to placement (backport #10345)
2022-06-03 08:34:03 -06:00
parth-gr aa6cbf2ea2 rgw: make fqdn rgw converted to ip everywhere
During the recent addtions of rgw validation
changes there are too many places where we use
rgwendpoint, so making fqdn to ip conversion globally

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit fed91ddb81)
2022-06-02 15:09:12 +00:00
subhamkrai 84ffff5da1 docs: update doc path according to new doc change
we need to update the referred doc path
according to our latest doc change.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 49a35a9311)
2022-06-01 15:26:26 +00:00
Kim Minjong 707e7c51a7 docs: add prepareosd to placement
Add prepareosd entry to cluster.yaml docs.
Add prepareosd as an example of placement (commented out)

Signed-off-by: Kim Minjong <make.dirty.code@gmail.com>
(cherry picked from commit 8f713e22dc)
2022-06-01 14:30:19 +00:00
Travis Nielsen fef689a506 build: update release version to v1.9.4
For the patch release the example manifests and docs are updated
to v1.9.4

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-05-26 14:04:46 -06:00
parth-gr 31987b9c47 build: update examples and base image to use ceph v16.2.9
In release 1.9, the operator base image has been changed to
ceph v16.2.9

Signed-off-by: parth-gr <paarora@redhat.com>
2022-05-25 22:14:35 +05:30
parth-gr 6a3b953949 csi: update cephfs osd caps
Currently cephfs caps are data=filesystemname,
which only have write access, but not the read access
changing it to *=filesystemname so we can read data also

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit cbda9f2f7d)
2022-05-25 14:22:25 +00:00
parth-gr 6b02279535 csi: update the upgrade flag description
Currently it was mention we are updating the csi-user
But more precisely we go and update the keyrings
which auto update users so replacing it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b97bc74f45)
2022-05-13 12:28:43 +00:00
parth-gr 1e8e0b2ec8 rgw: donot validate prefix rgw pools when prefix is default
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit cf29043f4d)
2022-05-13 12:28:42 +00:00
parth-gr 415a10496a rgw: validate rgw endpoint ip
The ceph-external-cluster-details-exporter.py
generates the json output even with
rgw-endpoint IP from different cluster
Added a check validate_rgw_endpoint which will validate
the above rgw_endpoint Ip by matching the cluster fsid

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 09d52511ad)
2022-05-13 12:28:42 +00:00
Travis Nielsen cbd9429e5a build: update the release version to v1.9.3
For the patch release the example manifests and documentation
is updated to v1.9.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-05-12 14:12:00 -06:00
parth-gr d641bbb867 rgw: support FQDN for RGW endpoint
Now rgw can be pass by FQDN too,
to avoid problems where it is required
The format should be similar to
Ip(<IP>:<PORT> format), <FQDN>:<PORT> format

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 624400ff93)
2022-05-12 17:52:31 +00:00
Sean Johnson efffc9d5df docs: update tolerations name from controlplane to control-plane
Signed-off-by: ttyS0 <sean@skj.dev>
(cherry picked from commit 30667157ab)
2022-05-12 16:31:23 +00:00
Yuichiro Ueno afa94d0b2d build: add psp for missing roles
This commit adds psp RoleBindings to rook-ceph-rgw role and
rook-ceph-purge-osd role. Without this commit, I cannot perform
rook-ceph-purge-osd job on PSP-enabled cluster.

Signed-off-by: Yuichiro Ueno <ueno@preferred.jp>
(cherry picked from commit 1ccc185a79)
2022-05-11 17:56:14 +00:00
Travis Nielsen 529869c286 operator: increase memory limit of operator
The operator is very bursty and when starting up may need more memory
to reconcile all the CRs initially before it calms down.
The default of 256Mi was not sufficient for many clusters, so now
we bump up the limit to 512Mi.

This is a follow-up from the same change to the helm chart in
https://github.com/rook/rook/pull/10195.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 60b72b6d48)
2022-05-03 15:59:07 +00:00
Travis Nielsen d75a6e769f build: update release version to v1.9.2
For the patch release we update the example manifests and docs
to v1.9.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-28 12:04:36 -06:00
Rakshith R 209617b18d build: fix csi nfs rbac csv generation
Added hack in generate-rook-csv for proper
generation of csi nfs rbac in csv.
Added placeholder clusterrole and binding for
nfs nodeplugin sa, since operator-sdk
does not include sa without rules.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit d0b67af23b)
2022-04-28 14:53:29 +00:00
mergify[bot] 89f8f1882d Merge pull request #10155 from rook/mergify/bp/release-1.9/pr-10139
core: RGW realm pull spec is optional (backport #10139)
2022-04-25 14:17:56 +00:00
Travis Nielsen 07ea7139eb core: rgw realm pull spec is optional
The endpoint on the rgw realm pull spec is causing a failure
if not specified even when it is not expected to be
required. Now the endpoint has the json property to be
ommitted if not specified.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7f709776b5)
2022-04-25 13:49:58 +00:00
Sébastien Han fbca65c738 csi: update cephcsi to v3.6.1 release
A new Ceph-CSI release is out so let's use it.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 1093b0a166)
2022-04-25 09:05:38 +00:00
Travis Nielsen ebc7c6ad77 build: add a placeholder rule to rgw rbac
With https://github.com/rook/rook/pull/10108 a placeholder role
and role binding were added for the rgw service account so
the csv generation would generate the service account. That
workaround also requires a rule to be added to the role or else
the generation is invalid. Now a rule is added to avoid that
issue. In the future we need to remove this role and binding
when the operator sdk is updated as explained in
https://github.com/rook/rook/issues/10141

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1dd343ed7e)
2022-04-22 17:17:22 +00:00
Travis Nielsen 417dd10421 build: set the release version to v1.9.1
Update the docs and example manifests for the v1.9.1 release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-04-21 10:59:49 -06:00
mergify[bot] bee1a06f6d Merge pull request #10119 from rook/mergify/bp/release-1.9/pr-10108
build: Add a placeholder rgw role for csv generation (backport #10108)
2022-04-20 19:29:33 +00:00