kind: AppInstance
apiVersion: internal.acorn.io/v1
metadata:
  name: app-name
  namespace: app-namespace
  uid: 1234567890abcdef
spec:
  image: test
  permissions:
  - serviceName: oneimage
    clusterRules:
    - verbs:
      - create
      apiGroups:
      - "foo.io"
      resources:
      - "bar"
    rules:
    - verbs:
      - patch
      apiGroups:
      - "bar.io"
      resources:
      - "foo"
status:
  namespace: app-created-namespace
  appImage:
    id: test
  appSpec:
    jobs:
      oneimage:
        sidecars:
          left:
            image: "foo"
            ports:
              - port: 90
                targetPort: 91
                protocol: tcp
        ports:
        - port: 80
          targetPort: 81
          protocol: http
        image: "image-name"
        build:
          dockerfile: "Dockerfile"
          context: "."