add missing commands and unify service / namespace options

This commit is contained in:
Willy Kloucek
2021-11-24 18:30:20 +01:00
parent de87f3160d
commit 6206fe2398
66 changed files with 515 additions and 218 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ type HTTP struct {
// GRPC defines the available grpc configuration.
type GRPC struct {
Addr string `ocisConfig:"grpc"`
Addr string `ocisConfig:"addr"`
Namespace string `ocisConfig:"namespace"`
}
+1 -1
View File
@@ -104,7 +104,7 @@ func structMappings(cfg *Config) []shared.EnvBinding {
Destination: &cfg.GRPC.Namespace,
},
{
EnvVars: []string{"SETTINGS_NAME"},
EnvVars: []string{"SETTINGS_SERVICE_NAME"},
Destination: &cfg.Service.Name,
},
{