Don't allow booleans for root proxy config
Setting it to a false or true doesn't affect the config so shouldn't be allowed. true/false are for role level configurations. Fixes: https://github.com/basecamp/kamal/issues/1120
This commit is contained in:
14
test/fixtures/deploy_with_only_workers.yml
vendored
Normal file
14
test/fixtures/deploy_with_only_workers.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
service: app
|
||||
image: dhh/app
|
||||
servers:
|
||||
workers:
|
||||
proxy: false
|
||||
hosts:
|
||||
- 1.1.1.1
|
||||
- 1.1.1.2
|
||||
primary_role: workers
|
||||
registry:
|
||||
username: user
|
||||
password: pw
|
||||
builder:
|
||||
arch: amd64
|
||||
Reference in New Issue
Block a user