Skip to content

Commit

Permalink
go/runtime/config: Improve registries field comment
Browse files Browse the repository at this point in the history
  • Loading branch information
peternose committed Jan 11, 2025
1 parent b7ff57d commit 225fd5d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions go/runtime/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ type Config struct {
// LoadBalancer is the load balancer configuration.
LoadBalancer LoadBalancerConfig `yaml:"load_balancer,omitempty"`

// Registries is the list of URLs used to fetch runtime bundle metadata.
// Registries is the list of base URLs used to fetch runtime bundle metadata.
//
// The actual metadata URLs are constructed by appending the manifest hash
// to the base URL. Therefore, the provided URLs don't need to be valid
// endpoints themselves, only the constructed URLs need to be valid.
Registries []string `yaml:"registries,omitempty"`

// MaxBundleSize is the maximum allowed bundle size.
Expand Down Expand Up @@ -187,7 +191,11 @@ type RuntimeConfig struct {
// Config contains runtime local configuration.
Config map[string]interface{} `yaml:"config,omitempty"`

// Registries is the list of URLs used to fetch runtime bundle metadata.
// Registries is the list of base URLs used to fetch runtime bundle metadata.
//
// The actual metadata URLs are constructed by appending the manifest hash
// to the base URL. Therefore, the provided URLs don't need to be valid
// endpoints themselves, only the constructed URLs need to be valid.
Registries []string `yaml:"registries,omitempty"`
}

Expand Down

0 comments on commit 225fd5d

Please sign in to comment.