Skip to content

Commit

Permalink
refactor(definition) Sort secret format
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
  • Loading branch information
holyhope committed Feb 19, 2020
1 parent adeba13 commit dfb2e0c
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions api/v1alpha1/harbor_secret_format.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,11 @@ const (
)

const (
// ipaddress:port[,weight,password,database_index]
HarborRegistryURLKey = "url"
HarborRegistryNamespaceKey = "namespace"
)

const (
HarborCoreDatabaseHostKey = "host"
HarborCoreDatabasePortKey = "port"
HarborCoreDatabaseNameKey = "database"
HarborCoreDatabaseUserKey = "username"
HarborCoreDatabasePasswordKey = "password"
HarborChartMuseumStorageKindKey = "kind"
)

const (
// ipaddress:port[,weight,password,database_index]
HarborJobServiceBrokerURLKey = "url"
HarborJobServiceBrokerNamespaceKey = "namespace"
HarborChartMuseumCacheURLKey = "url"
)

const (
Expand All @@ -44,8 +32,17 @@ const (
)

const (
HarborChartMuseumStorageKindKey = "kind"
HarborChartMuseumCacheURLKey = "url"
HarborCoreDatabaseHostKey = "host"
HarborCoreDatabasePortKey = "port"
HarborCoreDatabaseNameKey = "database"
HarborCoreDatabaseUserKey = "username"
HarborCoreDatabasePasswordKey = "password"
)

const (
// ipaddress:port[,weight,password,database_index]
HarborJobServiceBrokerURLKey = "url"
HarborJobServiceBrokerNamespaceKey = "namespace"
)

const (
Expand All @@ -65,3 +62,8 @@ const (
HarborNotarySignerDatabasePasswordKey = "password"
HarborNotarySignerDatabaseSSLKey = "ssl"
)

const (
// ipaddress:port[,weight,password,database_index]
HarborRegistryURLKey = "url"
)

0 comments on commit dfb2e0c

Please sign in to comment.