Skip to content

Environment overrides for network are overwriting base definitions. #3346

@matthewhembree

Description

@matthewhembree

I'm am seeing this with network:. I am not sure if this is happening with other maps.

In comparison, this isn't merging in the way that I would expect helm would merge: Maps/keys are merged at all levels. Values/arrays are overwritten.

Is everything getting overridden at the map of network:?

This doesn't place the task in the private subnet:

network:
  vpc:
    placement: private

environments:
  dev:
    network:
      vpc:
        security_groups:
          - sg-1234567890

This does place the task in the private subnet:

environments:
  dev:
    network:
      vpc:
        placement: private
        security_groups:
          - sg-1234567890

edit: Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugIssues that are bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions