Merge pull request #2474 from vikstrous/disable-v1-master

disable schema1 by default, add a config flag to enable it
This commit is contained in:
Derek McGowan
2018-08-24 10:58:39 -07:00
committed by GitHub
15 changed files with 103 additions and 14 deletions

View File

@@ -194,6 +194,8 @@ type Configuration struct {
// TrustKey is the signing key to use for adding the signature to
// schema1 manifests.
TrustKey string `yaml:"signingkeyfile,omitempty"`
// Enabled determines if schema1 manifests should be pullable
Enabled bool `yaml:"enabled,omitempty"`
} `yaml:"schema1,omitempty"`
} `yaml:"compatibility,omitempty"`