Skip to content

Commit 398e7a6

Browse files
committed
add web deployment
1 parent 94e62df commit 398e7a6

File tree

2 files changed

+46
-3
lines changed

2 files changed

+46
-3
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
apiVersion: core.oam.dev/v1beta1
2+
kind: Application
3+
metadata:
4+
name: dapps-certification-web
5+
namespace: dapps-certification-staging
6+
spec:
7+
components:
8+
- name: dapps-certification-web
9+
type: webservice
10+
properties:
11+
image: ghcr.io/demoiog/plutus-certification-web:3
12+
imagePullPolicy: IfNotPresent
13+
ports:
14+
- expose: true
15+
port: 3000
16+
protocol: TCP
17+
traits:
18+
- type: scaler
19+
properties:
20+
replicas: 1
21+
- type: https-route
22+
properties:
23+
domains:
24+
- dapps-certification-web.scdev.aws.iohkdev.io
25+
rules:
26+
- port: 3000
27+
serviceName: dapps-certification-web
28+
policies:
29+
- name: local-dapps-certification
30+
properties:
31+
clusters:
32+
- local
33+
namespace: dapps-certification-staging
34+
type: topology
35+
workflow:
36+
steps:
37+
- type: deploy
38+
meta:
39+
alias: Deploy To local-dapps-certification
40+
name: local-dapps-certification
41+
properties:
42+
policies:
43+
- local-dapps-certification

deploy/dapps-certification.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ spec:
8585
properties:
8686
clusters:
8787
- local
88-
namespace: dapps-certification
88+
namespace: dapps-certification-staging
8989
type: topology
9090
workflow:
9191
steps:
92-
- meta:
92+
- type: deploy
93+
meta:
9394
alias: Deploy To local-dapps-certification
9495
name: local-dapps-certification
9596
properties:
9697
policies:
9798
- local-dapps-certification
98-
type: deploy

0 commit comments

Comments
 (0)