File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
packages/ocs/storage-class Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -44,25 +44,8 @@ export const addReclaimSpaceAnnotation = (sc: StorageClass): StorageClass => {
4444 return sc ;
4545} ;
4646
47- export const addEncryptionKeyRotationAnnotation = (
48- sc : StorageClass
49- ) : StorageClass => {
50- if (
51- sc ?. parameters ?. hasOwnProperty ( 'encrypted' ) &&
52- sc ?. parameters ?. [ 'encrypted' ] === 'true'
53- ) {
54- sc . metadata . annotations = {
55- ...getAnnotations ( sc , { } ) ,
56- 'keyrotation.csiaddons.openshift.io/schedule' : '@weekly' ,
57- } ;
58- }
59-
60- return sc ;
61- } ;
62-
6347export const addRBDAnnotations = ( sc : StorageClass ) : StorageClass => {
6448 sc = addKubevirtAnnotations ( sc ) ;
6549 sc = addReclaimSpaceAnnotation ( sc ) ;
66- sc = addEncryptionKeyRotationAnnotation ( sc ) ;
6750 return sc ;
6851} ;
You can’t perform that action at this time.
0 commit comments