From 69dc8897bb18d5dcfba33278504bc9a5e0068bb1 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Wed, 28 Sep 2022 09:54:50 +0200 Subject: [PATCH] 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 --- deploy/examples/pool-ec.yaml | 3 --- deploy/examples/pool.yaml | 3 --- 2 files changed, 6 deletions(-) diff --git a/deploy/examples/pool-ec.yaml b/deploy/examples/pool-ec.yaml index 770c3a8be..ff66e5810 100644 --- a/deploy/examples/pool-ec.yaml +++ b/deploy/examples/pool-ec.yaml @@ -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 diff --git a/deploy/examples/pool.yaml b/deploy/examples/pool.yaml index da3c7ebd3..a3364a396 100644 --- a/deploy/examples/pool.yaml +++ b/deploy/examples/pool.yaml @@ -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