forked from LaconicNetwork/kompose
Support ingress path for kubernetes (#1245)
* Support ingress path for kubernetes
This commit is contained in:
Vendored
+1
-1
@@ -5,7 +5,7 @@ web:
|
||||
links:
|
||||
- redis
|
||||
labels:
|
||||
kompose.service.expose: " batman.example.com ,, batwoman.example.com "
|
||||
kompose.service.expose: " batman.example.com/home ,, batwoman.example.com "
|
||||
redis:
|
||||
image: redis:3.0
|
||||
ports:
|
||||
|
||||
Vendored
+4
-3
@@ -44,7 +44,7 @@
|
||||
},
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.expose": " batman.example.com ,, batwoman.example.com ",
|
||||
"kompose.service.expose": " batman.example.com/home ,, batwoman.example.com ",
|
||||
"kompose.version": "%VERSION%"
|
||||
}
|
||||
},
|
||||
@@ -125,7 +125,7 @@
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.expose": " batman.example.com ,, batwoman.example.com ",
|
||||
"kompose.service.expose": " batman.example.com/home ,, batwoman.example.com ",
|
||||
"kompose.version": "%VERSION%"
|
||||
},
|
||||
"creationTimestamp": null,
|
||||
@@ -146,7 +146,7 @@
|
||||
"metadata": {
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.expose": " batman.example.com ,, batwoman.example.com ",
|
||||
"kompose.service.expose": " batman.example.com/home ,, batwoman.example.com ",
|
||||
"kompose.version": "%VERSION%"
|
||||
},
|
||||
"creationTimestamp": null,
|
||||
@@ -193,6 +193,7 @@
|
||||
"http": {
|
||||
"paths": [
|
||||
{
|
||||
"path": "/home",
|
||||
"backend": {
|
||||
"serviceName": "web",
|
||||
"servicePort": 5000
|
||||
|
||||
Reference in New Issue
Block a user