DodoApp: Support multiple ingresses per service
Change-Id: I76fbf92c152a7c8e12bbded51cb8fea07ea9c045
diff --git a/core/installer/dodo_app_test.go b/core/installer/dodo_app_test.go
index 1367c65..3501620 100644
--- a/core/installer/dodo_app_test.go
+++ b/core/installer/dodo_app_test.go
@@ -14,11 +14,11 @@
name: "app"
type: "golang:1.20.0"
run: "main.go"
- ingress: {
+ ingress: [{
network: "private"
subdomain: "testapp"
auth: enabled: false
- }
+ }]
source: repository: "ssh://foo.bar"
ports: [{
name: "a"
@@ -162,7 +162,7 @@
"name": "DODO_POSTGRESQL_DB_CONNECTION_URL"
}
],
- "ingress": {
+ "ingress": [{
"network": "Private",
"subdomain": "foo",
"port": {
@@ -171,7 +171,16 @@
"auth": {
"enabled": false
}
- },
+ }, {
+ "network": "Public",
+ "subdomain": "foo",
+ "port": {
+ "name": "web"
+ },
+ "auth": {
+ "enabled": false
+ }
+ }],
"expose": [],
"dev": { "enabled": true, "username": "gio" }
}