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
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
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
8fedecb9
Commit
8fedecb9
authored
5 years ago
by
Alexey Kuklin
Browse files
Options
Downloads
Patches
Plain Diff
defaults change and new cert name for local run
parent
bd258798
No related branches found
No related tags found
3 merge requests
!53
Localbuild
,
!52
Localbuild
,
!50
Localbuild
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/configs.go
+4
-4
4 additions, 4 deletions
config/configs.go
run.sh
+1
-1
1 addition, 1 deletion
run.sh
with
5 additions
and
5 deletions
config/configs.go
+
4
−
4
View file @
8fedecb9
...
...
@@ -37,10 +37,10 @@ func SetConfigValues(configFile, etcdURL string) {
// Set Default Values For Config Variables
// Vereign API Related
viper
.
SetDefault
(
"grpcListenAddress"
,
"
localhost
:7877"
)
viper
.
SetDefault
(
"restListenAddress"
,
"
localhost
:7878"
)
viper
.
SetDefault
(
"dataStorageUrl"
,
"
localhos
t:7777"
)
viper
.
SetDefault
(
"entitiesManagerUrl"
,
"
localhos
t:7779"
)
viper
.
SetDefault
(
"grpcListenAddress"
,
":7877"
)
viper
.
SetDefault
(
"restListenAddress"
,
":7878"
)
viper
.
SetDefault
(
"dataStorageUrl"
,
"
data-storage-agen
t:7777"
)
viper
.
SetDefault
(
"entitiesManagerUrl"
,
"
entities-management-agen
t:7779"
)
viper
.
SetDefault
(
"viamUUID"
,
"viam-system"
)
viper
.
SetDefault
(
"viamSession"
,
"viam-session"
)
...
...
This diff is collapsed.
Click to expand it.
run.sh
+
1
−
1
View file @
8fedecb9
...
...
@@ -2,7 +2,7 @@
[
-d
cert
]
||
mkdir
cert
openssl genrsa
-out
cert/server.key 2048
openssl req
-new
-key
cert/server.key
-out
cert/server.csr
-subj
"/CN=
localhos
t"
openssl req
-new
-key
cert/server.key
-out
cert/server.csr
-subj
"/CN=
key-storage-agen
t"
openssl x509
-req
-days
365
-in
cert/server.csr
-signkey
cert/server.key
-out
cert/server.crt
...
...
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