kind: AppInstance
apiVersion: internal.acorn.io/v1
metadata:
  name: app-name
  namespace: app-namespace
  uid: 1234567890abcdef
spec:
  image: test
  volumes:
    - target: foo
      class: test-custom-class
      size: 3Gi
      accessModes: [ "readWriteOnce" ]
    - target: bar
      class: test-custom-class
status:
  namespace: app-created-namespace
  appImage:
    id: test
  appSpec:
    containers:
      container-name:
        image: "image-name"
        dirs:
          "/var/tmp":
            volume: foo
          "/var/temp":
            volume: bar
    volumes:
      foo:
        class: test-custom-class-request
        size: 6Gi
        accessModes: [ "readOnlyMany" ]
      bar:
        class: test-custom-class-request
        size: 6Gi
  defaults:
    volumes:
      foo:
        class: test-custom-class-default
        size: 2Gi
        accessModes: [ "readWriteMany" ]
      bar:
        class: test-custom-class-default
        accessModes: [ "readWriteMany" ]
