github.com/oam-dev/kubevela@v1.9.11/pkg/appfile/dryrun/testdata/testing-dry-run-5.yaml (about) 1 apiVersion: core.oam.dev/v1beta1 2 kind: Application 3 metadata: 4 name: testing-app 5 spec: 6 components: 7 - name: testing-dryrun 8 type: webservice 9 properties: 10 image: oamdev/hello-world:v1 11 traits: 12 - type: nocalhost 13 properties: 14 port: 9080 15 gitUrl: https://github.com/nocalhost/bookinfo-productpage.git 16 image: nocalhost-docker.pkg.coding.net/nocalhost/dev-images/python:3.7.7-slim-productpage-with-pydevd 17 shell: "bash" 18 workDir: "/opt/work" 19 resources: 20 limits: 21 memory: 1Gi 22 cpu: "1" 23 requests: 24 memory: 512Mi 25 cpu: "0.5" 26 debug: 27 remoteDebugPort: 9009 28 hotReload: true 29 sync: 30 type: send 31 filePattern: 32 - ./ 33 ignoreFilePattern: 34 - .git 35 - .idea 36 command: 37 run: 38 - sh 39 - run.sh 40 debug: 41 - sh 42 - debug.sh 43 env: 44 - name: "foo" 45 value: "bar" 46 portForward: 47 - 39080:9080 48