Sha256: f2186bcb51141ff86e020d0535bb2337d9fc7f00a0aef8309e11daef3f09bcdc
Contents?: true
Size: 543 Bytes
Versions: 6
Compression:
Stored size: 543 Bytes
Contents
module KubernetesDeploy class Ingress < KubernetesResource TIMEOUT = 30.seconds def initialize(name, namespace, file) @name, @namespace, @file = name, namespace, file end def sync _, st = run_kubectl("get", type, @name) @status = st.success? ? "Created" : "Unknown" @found = st.success? log_status end def deploy_succeeded? exists? end def deploy_failed? false end def exists? @found end def group_name "Ingresses" end end end
Version data entries
6 entries across 6 versions & 1 rubygems