Sha256: 472ba665eecb9dc1767b1812affd68a3cf70a8283f2c6623c71b9b781829e1a5
Contents?: true
Size: 638 Bytes
Versions: 8
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true module KubernetesDeploy class Bucket < KubernetesResource def sync _, _err, st = kubectl.run("get", type, @name) @found = st.success? end def deploy_succeeded? return false unless deploy_started? unless @success_assumption_warning_shown @logger.warn("Don't know how to monitor resources of type #{type}. Assuming #{id} deployed successfully.") @success_assumption_warning_shown = true end true end def exists? @found end def deploy_failed? false end def deploy_method :replace end end end
Version data entries
8 entries across 8 versions & 1 rubygems