@toa.io/operations 1.0.0-alpha.72 → 1.0.0-alpha.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/operations",
3
- "version": "1.0.0-alpha.72",
3
+ "version": "1.0.0-alpha.74",
4
4
  "description": "Toa Deployment",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -29,10 +29,10 @@
29
29
  "dependencies": {
30
30
  "@toa.io/filesystem": "1.0.0-alpha.63",
31
31
  "@toa.io/generic": "1.0.0-alpha.63",
32
- "@toa.io/norm": "1.0.0-alpha.67",
32
+ "@toa.io/norm": "1.0.0-alpha.73",
33
33
  "@toa.io/yaml": "1.0.0-alpha.63",
34
34
  "execa": "5.1.1",
35
35
  "fs-extra": "11.1.1"
36
36
  },
37
- "gitHead": "919b587dfcdfab40d18f0f8bd24b34d8107f811a"
37
+ "gitHead": "198cb9bc1ad86b66aebada8f0ac205e25b236a14"
38
38
  }
@@ -75,6 +75,17 @@ spec:
75
75
  port:
76
76
  number: 8000
77
77
  {{- end }}
78
+ {{- if .ingress.default }}
79
+ - http:
80
+ paths:
81
+ - path: /
82
+ pathType: Prefix
83
+ backend:
84
+ service:
85
+ name: extension-{{ $service }}
86
+ port:
87
+ number: 8000
88
+ {{- end }}
78
89
  {{- end }}
79
90
  ---
80
91
  {{- end }}
@@ -32,6 +32,7 @@ services:
32
32
  port: 8000
33
33
  replicas: 2
34
34
  ingress:
35
+ default: true
35
36
  hosts: [dummies.toa.io]
36
37
  class: alb
37
38
  annotations:
@@ -40,7 +40,8 @@ export interface Dependency {
40
40
  }
41
41
 
42
42
  interface Ingress {
43
- hosts: string[]
43
+ default?: boolean
44
+ hosts?: string[]
44
45
  class?: string
45
46
  annotations?: object
46
47
  }