From 00040083c8f4ceffe63859a8e6b2c2cd0f26fac9 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Mon, 4 Sep 2017 12:33:15 -0700 Subject: [PATCH] add badger init profile License: MIT Signed-off-by: Jeromy --- repo/config/profile.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/repo/config/profile.go b/repo/config/profile.go index 359aa313a..e276ee573 100644 --- a/repo/config/profile.go +++ b/repo/config/profile.go @@ -41,4 +41,11 @@ var ConfigProfiles = map[string]func(*Config) error{ c.Discovery.MDNS.Enabled = false return nil }, + "badgerds": func(c *Config) error { + c.Datastore.Spec = map[string]interface{}{ + "type": "badgerds", + "path": "badgerds", + } + return nil + }, }