Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
key-storage-agent
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Code
key-storage-agent
Commits
2c52938f
Commit
2c52938f
authored
5 years ago
by
Alisa Dinaburg
Browse files
Options
Downloads
Patches
Plain Diff
default value for grpcURL
parent
8ccc2be4
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.yaml.sample
+1
-1
1 addition, 1 deletion
config.yaml.sample
config/configs.go
+3
-3
3 additions, 3 deletions
config/configs.go
with
4 additions
and
4 deletions
config.yaml.sample
+
1
−
1
View file @
2c52938f
...
@@ -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-agen
t:7877
grpcURL:
localhos
t:7877
# VIAM Variables
# VIAM Variables
viamUUID: viam-system
viamUUID: viam-system
...
...
This diff is collapsed.
Click to expand it.
config/configs.go
+
3
−
3
View file @
2c52938f
...
@@ -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-agen
t:7877"
)
viper
.
SetDefault
(
"grpcURL"
,
"
localhos
t:7877"
)
viper
.
SetDefault
(
"replaceKey"
,
false
)
viper
.
SetDefault
(
"replaceKey"
,
false
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment