Skip to content

Commit 1ed63ac

Browse files
committed
Update devfile deploy
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
1 parent 028acad commit 1ed63ac

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
File renamed without changes.

devfile.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ parent:
2121
id: python
2222
registryUrl: 'https://registry.devfile.io'
2323
components:
24-
- name: outerloop-build
24+
- name: image-build
2525
image:
2626
imageName: python-image:latest
2727
dockerfile:
2828
uri: docker/Dockerfile
2929
buildContext: .
3030
rootRequired: false
31-
- name: outerloop-deploy
31+
- name: kubernetes-deploy
3232
attributes:
3333
deployment/replicas: 1
3434
deployment/cpuLimit: '100m'
@@ -37,18 +37,18 @@ components:
3737
deployment/memoryRequest: 50Mi
3838
deployment/container-port: 8081
3939
kubernetes:
40-
uri: outerloop.yaml
40+
uri: deploy.yaml
4141
endpoints:
42-
- name: http-outerloop
42+
- name: http-8081
4343
targetPort: 8081
4444
path: /
4545
commands:
4646
- id: build-image
4747
apply:
48-
component: outerloop-build
48+
component: image-build
4949
- id: deployk8s
5050
apply:
51-
component: outerloop-deploy
51+
component: kubernetes-deploy
5252
- id: deploy
5353
composite:
5454
commands:

0 commit comments

Comments
 (0)