diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 2fba8d81a..eefd47249 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -34,4 +34,4 @@ resources: - csiaddons_encryptionkeyrotationcronjob_editor_role.yaml - csiaddons_encryptionkeyrotationcronjob_viewer_role.yaml - csiaddons_encryptionkeyrotationjob_editor_role.yaml -- csiaddons_encryptionkeyrotationjob_viewer_role.yaml \ No newline at end of file +- csiaddons_encryptionkeyrotationjob_viewer_role.yaml diff --git a/internal/controller/csiaddons/encryptionkeyrotationcronjob_controller.go b/internal/controller/csiaddons/encryptionkeyrotationcronjob_controller.go index 6e17277e7..e90130dbe 100644 --- a/internal/controller/csiaddons/encryptionkeyrotationcronjob_controller.go +++ b/internal/controller/csiaddons/encryptionkeyrotationcronjob_controller.go @@ -228,7 +228,7 @@ func parseEncryptionKeyRotationJobList( } } -// getScheduledTimeForEKRJob extracts the scheduled time from EncryptionKeyRotationJob's annotaion +// getScheduledTimeForEKRJob extracts the scheduled time from EncryptionKeyRotationJob's annotation // MARK:- can be a generic function func getScheduledTimeForEKRJob(krJob *csiaddonsv1alpha1.EncryptionKeyRotationJob) (*time.Time, error) { timeRaw := krJob.Annotations[scheduledTimeAnnotation]