apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: k8s-objects-app
spec:
  components:
    - name: objects
      type: k8s-objects
      properties:
        objects:
          - apiVersion: v1
            kind: Namespace
            metadata:
              name: test1
          - apiVersion: v1
            kind: Namespace
            metadata:
              name: test2