Skip to content

Commit eaa075f

Browse files
committed
specify port in attribute
Signed-off-by: Stephanie <[email protected]>
1 parent f66b844 commit eaa075f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

devfile.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ schemaVersion: 2.2.0
22
metadata:
33
name: python
44
version: 1.0.0
5+
attributes:
6+
alpha.dockerimage-port: 8081
57
starterProjects:
68
- name: python-example
79
git:
@@ -32,11 +34,11 @@ components:
3234
replicas: 1
3335
selector:
3436
matchLabels:
35-
app: node-app
37+
app: python-app
3638
template:
3739
metadata:
3840
labels:
39-
app: node-app
41+
app: python-app
4042
spec:
4143
containers:
4244
- name: {{COMPONENT_NAME}}

0 commit comments

Comments
 (0)