Skip to content

Commit

Permalink
Only configure single requested environment
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Aug 13, 2023
1 parent f0c7f67 commit f161dc0
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/kuby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,8 @@ def define(name, &block)
@definition = Definition.new(name.to_s)
@definition.instance_eval(&block)

@definition.environments.each do |_, env|
env.kubernetes.after_configuration
end

@definition.environments.each do |_, env|
env.configured = true
end
@definition.environment.kubernetes.after_configuration
@definition.environment.configured = true

@definition
end
Expand Down

0 comments on commit f161dc0

Please sign in to comment.