-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
There are lots of sed command to render config file, these commands will cause problem when reconfigure because these operation can not be revert
For example in pre-start.erb
sed -i "s|/data/registry:/storage|$mount_point:/storage|" ${HARBOR_PACKAGE_DIR}/docker-compose.yml
When switch from nfs to local, it is still in docker-compose.yml.
The workaround for this issue is to edit the config file and change back to the original version manually.
In the future, these config files should be rendered with template file.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working