kind: AppInstance
apiVersion: internal.acorn.io/v1
metadata:
  name: app-name
  namespace: app-namespace
  uid: 1234567890abcdef
spec:
  image: test
  computeClass:
    left: sample-compute-class
status:
  defaults:
    memory:
      left: 1048576 # 1Mi
  namespace: app-created-namespace
  appImage:
    id: test
  scheduling:
    oneimage:
      tolerations:
        - key: taints.acorn.io/workload
          operator: "Exists"
  appSpec:
    containers:
      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: "."
  conditions:
    - type: scheduling
      reason: Success
      status: "True"
      success: true
