Skip to content

[Bug]: 0.20.27, 0.20.28, 0.20.29 clients cannot create/update gateways with 0.21.0 server #4147

Description

@jvstme

Steps to reproduce

$ dstack --version
0.20.27

$ cat test.dstack.yml
type: gateway
backend: aws
region: eu-north-1
domain: example.com

$ dstack apply -f test.dstack.yml
Server validation error: 
{'detail': [{'input': None,
             'loc': ['body', 'spec', 'configuration', 'router'],
             'msg': 'Extra inputs are not permitted',
             'type': 'extra_forbidden'}]}

Actual behaviour

No response

Expected behaviour

No response

dstack version

0.21.0

Server logs

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions