diff --git a/python3-k8sapp-rook-ceph/k8sapp_rook_ceph/k8sapp_rook_ceph/lifecycle/lifecycle_rook_ceph.py b/python3-k8sapp-rook-ceph/k8sapp_rook_ceph/k8sapp_rook_ceph/lifecycle/lifecycle_rook_ceph.py index 7168e3f..fd8ca31 100644 --- a/python3-k8sapp-rook-ceph/k8sapp_rook_ceph/k8sapp_rook_ceph/lifecycle/lifecycle_rook_ceph.py +++ b/python3-k8sapp-rook-ceph/k8sapp_rook_ceph/k8sapp_rook_ceph/lifecycle/lifecycle_rook_ceph.py @@ -724,18 +724,6 @@ class RookCephAppLifecycleOperator(base.AppLifecycleOperator): return replication - def is_latest_kube_version(self, app_op): - """Checks if kubernetes version is the latest supported version""" - active_kube_version = app_op._kube.kube_get_kubernetes_version() - latest_supported_kube_version = kube_utils.get_latest_supported_version() - is_latest_kube_version = False - - if active_kube_version: - if active_kube_version == latest_supported_kube_version: - is_latest_kube_version = True - - return is_latest_kube_version - def handle_incomplete_config_alarm(self, api, action, alarm_type): reasons = { app_constants.ALARM_TYPE_MISSING_MONS: @@ -826,14 +814,6 @@ class RookCephAppLifecycleOperator(base.AppLifecycleOperator): ceph_rook_backend = app_utils.get_ceph_rook_backend(dbapi) worker_hosts = dbapi.ihost_get_by_personality(constants.WORKER) - # CHECK AND FAIL: Are we running on the final version of k8s TODO - # (rchurch): This is for initial introduction in stx.10.0. Remove this - # check for stx.11.0 - if not self.is_latest_kube_version(app_op): - raise exception.LifecycleSemanticCheckException( - "The kubernetes version must be the latest version." - ) - # CHECK AND FAIL: Need a storage backend if not ceph_rook_backend: raise exception.LifecycleSemanticCheckException(