Skip to content

Commit 78b3dc2

Browse files
committed
Merge pull request #337 from krancour/routable-label-namespace
ref(workflow): Add namespace to routable label on app services
2 parents fa708c2 + f1bb0e1 commit 78b3dc2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/deis-workflow-service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
namespace: deis
66
labels:
77
heritage: deis
8-
routable: "true"
8+
router.deis.io/routable: "true"
99
annotations:
1010
router.deis.io/domains: deis
1111
router.deis.io/connectTimeout: "10"

rootfs/scheduler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def create(self, name, image, command, **kwargs):
327327
# TODO this should potentially be higher up in the flow
328328
# see http://docs.deis.io/en/latest/using_deis/process-types/#web-vs-cmd-process-types
329329
if app_type in ['web', 'cmd']:
330-
data = {'metadata': {'labels': {'routable': 'true'}}}
330+
data = {'metadata': {'labels': {'router.deis.io/routable': 'true'}}}
331331
self._create_namespace(app_name)
332332
self._create_secret(app_name)
333333
self._create_service(name, app_name, app_type, data, image=image)

0 commit comments

Comments
 (0)