Skip to content

Possibility to map files only #20

@aroca

Description

@aroca

Hi guys, I know this seems kinda dead, but still very useful, so i was trying to map a key directly to a file but is seems it only knows how to map to directories...

"mappings" : [{
"onchange": "service fsconsul restart",
"prefix": "/config/serviceA/roleA.json",
"path": "/etc/serviceA/main.json",
}]

Right now the workaround i am thinking is to create another hierarchy in the KV

/config/serviceA/roleA/main.conf

Should it be too much trouble to add this? just wondering if the effort is not that much to try. I can always help.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions