mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-16 06:16:52 +00:00
fix diff update example and test data version fix convert function fix e2e for helm clean up creationTimestamp in a hack way fix ci pending package suit test fix group version fix ci fix ut rename type to kind fix example fix conflicts Co-authored-by: yangsoon <yangsoonlx@gmail.com>
27 lines
658 B
YAML
27 lines
658 B
YAML
apiVersion: core.oam.dev/v1beta1
|
|
kind: Application
|
|
metadata:
|
|
name: testapp
|
|
spec:
|
|
components:
|
|
- name: express-server
|
|
type: webservice
|
|
properties:
|
|
cmd:
|
|
- node
|
|
- server.js
|
|
image: oamdev/testapp:v1
|
|
port: 8080
|
|
traits:
|
|
- type: "init-container"
|
|
properties:
|
|
name: "install-container"
|
|
image: "busybox"
|
|
command:
|
|
- wget
|
|
- "-O"
|
|
- "/work-dir/index.html"
|
|
- http://info.cern.ch
|
|
mountName: "workdir"
|
|
appMountPath: "/usr/share/nginx/html"
|
|
initMountPath: "/work-dir" |