Docs feedback: example registry storage configuration for azure uses wrong type
Omnibus GitLab installations
registry['storage'] = {
'azure' => {
'accountname' => 'accountname',
'accountkey' => 'base64encodedaccountkey',
'container' => 'containername',
'rootdirectory' => '/azure/virtual/container',
'trimlegacyrootprefix' => 'true'
}
}
trimlegacyrootprefix is boolean not string\
after update to 15.9.1 the registry didn't start.
2023-03-02_21:30:33.33426 Usage:
2023-03-02_21:30:33.33432 registry serve <config> [flags]
2023-03-02_21:30:33.33455
2023-03-02_21:30:33.33455 Flags:
2023-03-02_21:30:33.33470 -h, --help help for serve
2023-03-02_21:30:34.37661 configuration error: validation: 1 error occurred:
2023-03-02_21:30:34.37664 * invalid type string for 'storage.azure.trimlegacyrootprefix' (boolean)
2023-03-02_21:30:34.37664
2023-03-02_21:30:34.37665