Method: Controlplane#workload_deployment_version_ready?
- Defined in:
- lib/core/controlplane.rb
#workload_deployment_version_ready?(version, next_version) ⇒ Boolean
208 209 210 211 212 213 214 |
# File 'lib/core/controlplane.rb', line 208 def workload_deployment_version_ready?(version, next_version) return false unless version["workload"] == next_version version["containers"]&.all? do |_, container| container.dig("resources", "replicas") == container.dig("resources", "replicasReady") end end |