Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Commit

Permalink
Merge artifact registries
Browse files Browse the repository at this point in the history
  • Loading branch information
julianvmodesto committed Jun 4, 2020
1 parent 573a415 commit f0793c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/kube_deploy_tools/deploy_config_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ def extend!(other)
# the 'other' hash wins.
@image_registries = other.image_registries.merge(@image_registries)

@artifact_registries = other.artifact_registries.merge(@artifact_registries)

@artifact_registry = other.artifact_registry if @artifact_registry.empty?

# Same behavior as above for #default_flags.
@default_flags = other.default_flags.merge(@default_flags)

Expand Down

0 comments on commit f0793c1

Please sign in to comment.