Commit 93f0a1ce authored by Shinya Maeda's avatar Shinya Maeda

Remove unncessary comments from lib/gitlab/ci/build/policy/kubernetes.rb

parent 5f8dc660
......@@ -9,14 +9,6 @@ module Gitlab
end
end
##
# TODO:
# KubernetesService is being replaced by Platform::Kubernetes.
# The new Platform::Kubernetes belongs to multiple environments in a project,
# which means we should do `project.deployment_platform(environment: job.environment)&.active?`
# to check the activeness of the corresponded Kubernetes instance.
# Currently, `kubernetes: active` keyword is defined as it takes an effect on project-wide,
# At some points, it also makes sense, therefore we need to figure out a better shape.
def satisfied_by?(pipeline)
pipeline.has_kubernetes_active?
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment