class ConcourseObjects::Resources::Helm::Source
Constants
- DEFAULT_HELM_INIT_SERVER
- DEFAULT_HELM_INIT_WAIT
- DEFAULT_HELM_LIBRARY_MAX
- DEFAULT_HELM_SETUP_PURGE_ALL
- DEFAULT_KUBECONFIG_NAMESPACE
- DEFAULT_KUBECONFIG_TILLER_NAMESPACE
- DEFAULT_NAMESPACE
- DEFAULT_TILLERLESS
- DEFAULT_TILLER_NAMESPACE
- DEFAULT_TLS_ENABLED
- DEFAULT_TRACING_ENABLED
Public Class Methods
new(options = {}) { |this, options| ... }
click to toggle source
Calls superclass method
ConcourseObjects::Object::new
# File lib/concourse-objects/resources/helm.rb, line 70 def initialize(options = {}) super(options) do |this, options| raise KeyError, "#{self.class.inspect} requires one of (token, token_path, (admin_key, admin_cert))" unless (this.token? or this.token_path? or (this.admin_key? and this.admin_cert?)) unless this.tls_enabled this.tiller_cert = nil this.tiller_key = nil this.helm_ca = nil this.helm_cert = nil this.helm_key = nil end this.tiller_service_account = nil unless this.helm_init_server yield this, options if block_given? end end