Puppet Class: helm::config

Defined in:
manifests/config.pp

Overview

Class: helm::config

Parameters:

  • canary_image (Boolean) (defaults to: $helm::canary_image)
  • client_only (Boolean) (defaults to: $helm::client_only)
  • debug (Boolean) (defaults to: $helm::debug)
  • dry_run (Boolean) (defaults to: $helm::dry_run)
  • env (Array) (defaults to: $helm::env)
  • home (Optional[String]) (defaults to: $helm::home)
  • host (Optional[String]) (defaults to: $helm::host)
  • init (Boolean) (defaults to: $helm::init)
  • kube_context (Optional[String]) (defaults to: $helm::kube_context)
  • local_repo_url (Optional[String]) (defaults to: $helm::local_repo_url)
  • net_host (Boolean) (defaults to: $helm::net_host)
  • node_selectors (Optional[String]) (defaults to: $helm::node_selectors)
  • overrides (Optional[Array]) (defaults to: $helm::overrides)
  • path (Array) (defaults to: $helm::path)
  • service_account (String) (defaults to: $helm::service_account)
  • skip_refresh (Boolean) (defaults to: $helm::skip_refresh)
  • stable_repo_url (Optional[String]) (defaults to: $helm::stable_repo_url)
  • tiller_image (Optional[String]) (defaults to: $helm::tiller_image)
  • tiller_namespaces (Array[String]) (defaults to: $helm::tiller_namespaces)
  • tiller_tls (Boolean) (defaults to: $helm::tiller_tls)
  • tiller_tls_cert (Optional[String]) (defaults to: $helm::tiller_tls_cert)
  • tiller_tls_key (Optional[String]) (defaults to: $helm::tiller_tls_key)
  • tiller_tls_verify (Boolean) (defaults to: $helm::tiller_tls_verify)
  • tls_ca_cert (Optional[String]) (defaults to: $helm::tls_ca_cert)
  • upgrade (Boolean) (defaults to: $helm::upgrade)


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'manifests/config.pp', line 2

class helm::config (
  Boolean $canary_image                     = $helm::canary_image,
  Boolean $client_only                      = $helm::client_only,
  Boolean $debug                            = $helm::debug,
  Boolean $dry_run                          = $helm::dry_run,
  Array $env                                = $helm::env,
  Optional[String] $home                    = $helm::home,
  Optional[String] $host                    = $helm::host,
  Boolean $init                             = $helm::init,
  Optional[String] $kube_context            = $helm::kube_context,
  Optional[String] $local_repo_url          = $helm::local_repo_url,
  Boolean $net_host                         = $helm::net_host,
  Optional[String] $node_selectors          = $helm::node_selectors,
  Optional[Array] $overrides                = $helm::overrides,
  Array $path                               = $helm::path,
  String $service_account                   = $helm::service_account,
  Boolean $skip_refresh                     = $helm::skip_refresh,
  Optional[String] $stable_repo_url         = $helm::stable_repo_url,
  Optional[String] $tiller_image            = $helm::tiller_image,
  Array[String] $tiller_namespaces          = $helm::tiller_namespaces,
  Boolean $tiller_tls                       = $helm::tiller_tls,
  Optional[String] $tiller_tls_cert         = $helm::tiller_tls_cert,
  Optional[String] $tiller_tls_key          = $helm::tiller_tls_key,
  Boolean $tiller_tls_verify                = $helm::tiller_tls_verify,
  Optional[String] $tls_ca_cert             = $helm::tls_ca_cert,
  Boolean $upgrade                          = $helm::upgrade,
){

  $tiller_namespaces.each |$ns| {
    helm::helm_init { "helm-${ns}-master":
      canary_image     => $canary_image,
      client_only      => $client_only,
      debug            => $debug,
      env              => $env,
      dry_run          => $dry_run,
      home             => $home,
      host             => $host,
      init             => $init,
      kube_context     => $kube_context,
      local_repo_url   => $local_repo_url,
      net_host         => $net_host,
      node_selectors   => $node_selectors,
      overrides        => $overrides,
      path             => $path,
      service_account  => $service_account,
      skip_refresh     => $skip_refresh,
      stable_repo_url  => $stable_repo_url,
      tiller_image     => $tiller_image,
      tiller_namespace => $ns,
      tiller_tls       => $tiller_tls,
      tiller_tls_cert  => $tiller_tls_cert,
      tiller_tls_key   => $tiller_tls_key,
      tls_ca_cert      => $tls_ca_cert,
      upgrade          => $upgrade,
    }
  }
}