docs: the CephBlockPool CR does not have spec.annotations

With Kubernetes 1.25 it seems that applying the yaml files that have a
CephBlockPool with spec.annotations fail with errors like this:

    CephBlockPool in version "v1" cannot be handled as a CephBlockPool:
    strict decoding error: unknown field "spec.annotations"

Updates: ceph/ceph-csi#3362
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 69dc8897bb)
This commit is contained in:
Niels de Vos authored and Mergify committed 2022-09-28 14:29:50 +00:00
1 parent bc6a581634
commit e6bdca9148
2 files changed
-6

No files matched your search

-3
View File
@@ -21,6 +21,3 @@ spec:
parameters:
# Inline compression mode for the data pool
compression_mode: none
# A key/value list of annotations
annotations:
# key: value
-3
View File
@@ -62,6 +62,3 @@ spec:
# quotas:
# maxSize: "10Gi" # valid suffixes include k, M, G, T, P, E, Ki, Mi, Gi, Ti, Pi, Ei
# maxObjects: 1000000000 # 1 billion objects
# A key/value list of annotations
annotations:
# key: value