kind: AppInstance
apiVersion: internal.acorn.io/v1
metadata:
  uid: 1234567890abcdef
  name: app-name
  namespace: app-namespace
spec:
  image: test
  publishAllPorts: true
  endpoints:
  - target: oneimage
    hostname: localhost
status:
  namespace: app-created-namespace
  appImage:
    id: test
  appSpec:
    containers:
      oneimage:
        image: "image-name"
        dirs:
          noaction:
            secret:
              name: secret_dir_noaction
              onChange: noAction
          redeploy:
            secret:
              name: secret_dir_redeploy
              onChange: redeploy
        files:
          mode:
            mode: "0123"
            secret:
              name: secret_file_noaction
              key: key
              onChange: noAction
          noaction:
            secret:
              name: secret_file_noaction
              key: key
              onChange: noAction
          redeploy:
            secret:
              name: secret_file_redeploy
              key: key
              onChange: redeploy
        environment:
        - name: NOACTION
          secret:
            name: secret_env_noaction
            key: key
            onChange: noAction
        - name: REDEPLOY
          secret:
            name: secret_env_redeploy
            key: key
            onChange: redeploy
  conditions:
    - type: defined
      reason: Success
      status: "True"
      success: true