Merge pull request #10327 from zexi/fix/service-option-auth-domain

fix(cloudcommon): add default domain of common options
This commit is contained in:
Zexi Li
2021-03-05 11:22:35 +08:00
committed by GitHub
+2 -2
View File
@@ -112,10 +112,10 @@ const (
type CommonOptions struct {
AuthURL string `help:"Keystone auth URL" alias:"auth-uri"`
AdminUser string `help:"Admin username"`
AdminDomain string `help:"Admin user domain"`
AdminDomain string `help:"Admin user domain" default:"default"`
AdminPassword string `help:"Admin password" alias:"admin-passwd"`
AdminProject string `help:"Admin project" default:"system" alias:"admin-tenant-name"`
AdminProjectDomain string `help:"Domain of Admin project"`
AdminProjectDomain string `help:"Domain of Admin project" default:"default"`
AuthTokenCacheSize uint32 `help:"Auth token Cache Size" default:"2048"`
TenantCacheExpireSeconds int `help:"expire seconds of cached tenant/domain info. defailt 15 minutes" default:"900"`