Running installer script to add crowdsec adds httpChallenge back to config
- Dominant language
- TypeScript
- Stars
- 22.8k
- Forks
- 783
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 52
Description
### Describe the Bug
Installed fresh instance using the installer script. Changed from httpChallenge to dnsChallenge. Ran installer script again to add Crowdsec. traefik_config.yaml was updated to have both the dnsChallenge and httpChallenge sections.
### Environment
- OS Type & Version: Ubuntu 24.04.03 LTS
- Pangolin Version: 1.14.1
- Gerbil Version: 1.3.0
- Traefik Version: 3.6
### To Reproduce
1. Install Pangolin using install script. Say 'no' to Crowdsec.
2. Remove httpChallenge and add dnsChallenge to traefik_config.yaml.
3. Run installer script again and say 'yes' to Crowdsec.
4. traefik_config.yaml should now have both dnsChallenge and httpChallenge sections.
### Expected Behavior
Not adding httpChallenge if dnsChallenge is present.
Contributor guide
Assessment
This issue has not been assessed yet.