Update badger driver to use v2 by default.

This commit is contained in:
Mariano Cano 2021-08-11 11:19:29 -07:00
parent 492ff4b632
commit 66f6c73655

View file

@ -654,7 +654,7 @@ func (p *PKI) GenerateConfig(opt ...ConfigOption) (*authconfig.Config, error) {
DNSNames: p.DnsNames,
Logger: []byte(`{"format": "text"}`),
DB: &db.Config{
Type: "badger",
Type: "badgerv2",
DataSource: GetDBPath(),
},
AuthorityConfig: &authconfig.AuthConfig{