Class: Kube::Cluster::Standard::CloudNativePg::Helm::Barman

Inherits:
Object
  • Object
show all
Defined in:
lib/kube/cluster/standard/cloud_native_pg/helm.rb

Overview

instance_exec(&block) if block

  }
end

end

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Barman

Returns a new instance of Barman.



47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/kube/cluster/standard/cloud_native_pg/helm.rb', line 47

def initialize(&block)
  super {
    .name = "cloudnative-pg"
    .namespace = "kube-system"
    spec.chart = "plugin-barman-cloud"
    spec.version = "0.6.0"
    spec.repo = "https://cloudnative-pg.github.io/charts"
    spec.targetNamespace = "cnpg-system"
    spec.createNamespace = true

    instance_exec(&block) if block
  }
end