kind: AppInstance
apiVersion: internal.acorn.io/v1
metadata:
  uid: 1234567890abcdef
  name: app-name
  namespace: app-namespace
spec:
  labels:
  - resourceType: "container"
    resourceName: "con1"
    key: "con1key"
    value: "value"
  - resourceType: "container"
    resourceName: "con2"
    key: "con2key"
    value: "value"
  - resourceType: "container"
    resourceName: "con1"
    key: "both"
    value: "con1val"
  - resourceType: "container"
    resourceName: "con2"
    key: "both"
    value: "con2val"
  image: test
  ports:
  - targetServiceName: svc1
    serviceName: localhost
    publish: true
status:
  namespace: app-created-namespace
  appImage:
    id: test
  appSpec:
    containers:
      con1:
        annotations:
          "con1": "value"
          "both": "con1val"
        image: "foo"
        ports:
          - port: 80
            targetPort: 81
            publish: true
            protocol: http
            serviceName: svc1
          - port: 80
            targetPort: 81
            protocol: http
          - port: 90
            targetPort: 91
            protocol: tcp
            serviceName: svc1
      con2:
        annotations:
          "con2": "value"
          "both": "con2val"
        image: "foo"
        ports:
        - port: 80
          targetPort: 81
          publish: true
          protocol: http
          serviceName: svc1
        - port: 80
          targetPort: 81
          protocol: tcp
        - port: 90
          targetPort: 91
          protocol: tcp
          serviceName: svc1
      con3:
        image: "foo"
        ports:
        - port: 100
          targetPort: 101
          publish: true
          protocol: udp
          serviceName: svc2
        - port: 100
          targetPort: 101
          protocol: udp
  conditions:
  - type: defined
    reason: Success
    status: "True"
    success: true
