-
-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version of Warden
0.15.0
Operating System and Installation Method
Mac OS 15.5 via Brew
Describe the Bug
The warden svc up command will overwrite changes to home directory configuration of traefik.yml.
There is a missing file exists check which should be respected before creating the directory and the traefik.yml file itself.
## copy configuration files into location where they'll be mounted into containers from
mkdir -p "${WARDEN_HOME_DIR}/etc/traefik"
cp "${WARDEN_DIR}/config/traefik/traefik.yml" "${WARDEN_HOME_DIR}/etc/traefik/traefik.yml"
To Reproduce
- Edit your home directory
~/.warden/etc/traefik/traefik.yml. - Restart warden svc and
warden svc up - cat your home traefik.yml file.
- See file was replaced with warden install directory config/traefik/traefik.yml.
Expected Behavior
Home directory traefik configurations should be resilient / persistent across service and env restarts.
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
No status