proxy: Do not configure HTTP secret for proxy registry
Signed-off-by: Ismail Alidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
parent
3783a79518
commit
127fa7e057
1 changed files with 5 additions and 1 deletions
|
@ -155,7 +155,11 @@ func NewApp(ctx context.Context, config *configuration.Configuration) *App {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Do not configure HTTP secret for a proxy registry as HTTP secret
|
||||||
|
// is only used for blob uploads and a proxy registry does not support blob uploads.
|
||||||
|
if !app.isCache {
|
||||||
app.configureSecret(config)
|
app.configureSecret(config)
|
||||||
|
}
|
||||||
app.configureEvents(config)
|
app.configureEvents(config)
|
||||||
app.configureRedis(config)
|
app.configureRedis(config)
|
||||||
app.configureLogHook(config)
|
app.configureLogHook(config)
|
||||||
|
|
Loading…
Reference in a new issue