Commit Graph

10 Commits

Author SHA1 Message Date
Michael Irwin e62bfc87c2
Allow unspecified protocol on exposed port in kube backend
Signed-off-by: Michael Irwin <mikesir87@gmail.com>

The Compose spec doesn't provide a default value, but the code
was defaulting to TCP in the service protocol, just not in the
name. If no protocol was specified, it would cause an invalid
service name (eg, "80-")
2021-07-12 11:23:56 -04:00
Nicolas De Loof d90495e1cd move compose API into pkg/api
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof 89a63b79cb
define compose labels within the compose API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-11 11:46:34 +02:00
aiordache 0d25709ada Add port mapping to `compose ps`
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-06-08 14:48:09 +00:00
aiordache 012f710717 Fix lint issues
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-04 18:05:23 +01:00
aiordache c588a4108c Fix secret long form target path
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:35:17 +01:00
aiordache d10600041d Add secret support
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-02 15:33:32 +01:00
Guillaume Tardif 211a1d5d2d Revert "Prefix kube resource with compose project name to avoid name clashes between projects. "
This reverts commit 6b61902a23.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 09:40:40 +01:00
Guillaume Tardif 6b61902a23 Prefix kube resource with compose project name to avoid name clashes between projects.
Kube resource name follow the form `<PROJECT>-<SERVICE>`. (“_” are not allowed there, using “-“. Project names can include “-“, so we can’t parse back to retrieve project and service names, we MUST rely on labels.

Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-04 13:55:27 +01:00
aiordache 560014f248 Add progress writer to compose up/down
- remove intermediate compose interface

Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-03 11:37:54 +01:00