github.com/oam-dev/kubevela@v1.9.11/pkg/appfile/dryrun/testdata/dryrun-exp-comp.yaml (about) 1 ExternalRevision: "" 2 Name: myweb 3 Namespace: default 4 PackagedTraitResources: null 5 PackagedWorkloadResources: null 6 RevisionHash: "" 7 RevisionName: "" 8 Scopes: [] 9 ComponentOutput: 10 apiVersion: apps/v1 11 kind: Deployment 12 metadata: 13 annotations: {} 14 labels: 15 app.oam.dev/appRevision: "" 16 app.oam.dev/component: myweb 17 app.oam.dev/name: app-dryrun 18 app.oam.dev/namespace: default 19 workload.oam.dev/type: myworker 20 app.oam.dev/resourceType: WORKLOAD 21 name: myweb 22 namespace: default 23 spec: 24 selector: 25 matchLabels: 26 app.oam.dev/component: myweb 27 template: 28 metadata: 29 labels: 30 app.oam.dev/component: myweb 31 spec: 32 containers: 33 - command: 34 - sleep 35 - "1000" 36 image: busybox 37 name: myweb 38 ComponentOutputsAndTraits: 39 - apiVersion: v1 40 kind: Service 41 metadata: 42 annotations: {} 43 labels: 44 app.oam.dev/appRevision: "" 45 app.oam.dev/component: myweb 46 app.oam.dev/name: app-dryrun 47 app.oam.dev/namespace: default 48 trait.oam.dev/resource: service 49 trait.oam.dev/type: myingress 50 app.oam.dev/resourceType: TRAIT 51 name: myweb 52 namespace: default 53 spec: 54 ports: 55 - port: 80 56 targetPort: 80 57 selector: 58 app.oam.dev/component: myweb 59 - apiVersion: networking.k8s.io/v1beta1 60 kind: Ingress 61 metadata: 62 annotations: {} 63 labels: 64 app.oam.dev/appRevision: "" 65 app.oam.dev/component: myweb 66 app.oam.dev/name: app-dryrun 67 app.oam.dev/namespace: default 68 trait.oam.dev/resource: ingress 69 trait.oam.dev/type: myingress 70 app.oam.dev/resourceType: TRAIT 71 name: myweb 72 namespace: default 73 spec: 74 rules: 75 - host: www.example.com 76 http: 77 paths: 78 - backend: 79 serviceName: myweb 80 servicePort: 80 81 path: /