Skip to content
Snippets Groups Projects
Commit 2c52938f authored by Alisa Dinaburg's avatar Alisa Dinaburg
Browse files

default value for grpcURL

parent 8ccc2be4
No related branches found
No related tags found
Loading
...@@ -7,7 +7,7 @@ dataStorageUrl: localhost:7777 ...@@ -7,7 +7,7 @@ dataStorageUrl: localhost:7777
grpcListenAddress: localhost:7877 grpcListenAddress: localhost:7877
restListenAddress: localhost:7878 restListenAddress: localhost:7878
# This one using by rest-gateway. Must contain the same domain name with issued certificate # This one using by rest-gateway. Must contain the same domain name with issued certificate
grpcURL: key-storage-agent:7877 grpcURL: localhost:7877
# VIAM Variables # VIAM Variables
viamUUID: viam-system viamUUID: viam-system
......
...@@ -8,9 +8,9 @@ import ( ...@@ -8,9 +8,9 @@ import (
"code.vereign.com/code/viam-apis/authentication" "code.vereign.com/code/viam-apis/authentication"
"github.com/spf13/viper" "github.com/spf13/viper"
)
import _ "github.com/spf13/viper/remote" _ "github.com/spf13/viper/remote"
)
var SystemAuth = &authentication.Authentication{ var SystemAuth = &authentication.Authentication{
Uuid: "undefined", Uuid: "undefined",
...@@ -44,7 +44,7 @@ func SetConfigValues(configFile, etcdURL string) { ...@@ -44,7 +44,7 @@ func SetConfigValues(configFile, etcdURL string) {
viper.SetDefault("restListenAddress", ":7878") viper.SetDefault("restListenAddress", ":7878")
viper.SetDefault("dataStorageUrl", "data-storage-agent:7777") viper.SetDefault("dataStorageUrl", "data-storage-agent:7777")
viper.SetDefault("entitiesManagerUrl", "entities-management-agent:7779") viper.SetDefault("entitiesManagerUrl", "entities-management-agent:7779")
viper.SetDefault("grpcURL", "key-storage-agent:7877") viper.SetDefault("grpcURL", "localhost:7877")
viper.SetDefault("replaceKey", false) viper.SetDefault("replaceKey", false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment