class KuberKit::Core::Configuration
Attributes
artifacts[R]
build_servers[R]
default_services[R]
deployer_namespace[R]
deployer_require_confirmation[R]
deployer_strategy[R]
disabled_services[R]
enabled_services[R]
env_files[R]
global_build_vars[R]
kubeconfig_path[R]
name[R]
registries[R]
services_attributes[R]
templates[R]
Public Class Methods
new(name:, artifacts:, registries:, env_files:, templates:, kubeconfig_path:, services_attributes:, enabled_services:, disabled_services:, default_services:, build_servers:, global_build_vars:, deployer_strategy:, deployer_namespace:, deployer_require_confirmation:)
click to toggle source
# File lib/kuber_kit/core/configuration.rb, line 24 def initialize(name:, artifacts:, registries:, env_files:, templates:, kubeconfig_path:, services_attributes:, enabled_services:, disabled_services:, default_services:, build_servers:, global_build_vars:, deployer_strategy:, deployer_namespace:, deployer_require_confirmation:) @name = name @artifacts = artifacts @registries = registries @env_files = env_files @templates = templates @kubeconfig_path = kubeconfig_path @build_servers = build_servers @services_attributes = services_attributes @enabled_services = enabled_services @disabled_services = disabled_services @default_services = default_services @global_build_vars = global_build_vars @deployer_strategy = deployer_strategy @deployer_namespace = deployer_namespace @deployer_require_confirmation = deployer_require_confirmation end
Public Instance Methods
global_build_args()
click to toggle source
# File lib/kuber_kit/core/configuration.rb, line 49 def global_build_args unless KuberKit.deprecation_warnings_disabled? puts "DEPRECATION: global_build_args is deprecated, please use global_build_vars instead" end global_build_vars end
service_attributes(service_name)
click to toggle source
# File lib/kuber_kit/core/configuration.rb, line 45 def service_attributes(service_name) services_attributes[service_name.to_sym] || {} end