-
Notifications
You must be signed in to change notification settings - Fork 790
Merging exploded maps #1499
Copy link
Copy link
Closed
Labels
enhancementhashicat-update-completeCompleted porting changes to hashicatCompleted porting changes to hashicathashicat-update-requiredChanges that need to be ported to hashicatChanges that need to be ported to hashicat
Milestone
Metadata
Metadata
Assignees
Labels
enhancementhashicat-update-completeCompleted porting changes to hashicatCompleted porting changes to hashicathashicat-update-requiredChanges that need to be ported to hashicatChanges that need to be ported to hashicat
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm pretty excited to use consul-template. One nice to have would be a helper function to merge exploded maps. This would allow one take a hierarchical approach to applying configuration set(s).
Current situation:
I've got the same application deployed in various configurations. In order to achieve bootstraping these apps, from consul k/v based attributes, I'd have to duplicate configuration for each permutation.
Use case:
Below is an example of how one might create a hierarchical override approach. Essentially, base would be applied first and then overrides over top.
Template example: