`apiVersion: v1
kind: ServiceAccount
metadata:
  annotations:
    secret-rev.acorn.io/secret_dir_redeploy: 677d9197a43dc1b2d2fcbc026c51462c8d16f90a1cbfc11d58a868b1f0256449
    secret-rev.acorn.io/secret_env_redeploy: 0b0c304d11b643e599d08d89090ab1bc4e7d25cd0b345e1194f99ce0411c4983
    secret-rev.acorn.io/secret_file_redeploy: 22e3f3fe588737e91b552db39c1b1abc0760633b6a840e61757fa771735c21a9
  creationTimestamp: null
  labels:
    acorn.io/app-name: app-name
    acorn.io/app-namespace: app-namespace
    acorn.io/app-public-name: app-name
    acorn.io/container-name: oneimage
    acorn.io/managed: "true"
    acorn.io/project-name: app-namespace
  name: oneimage
  namespace: app-created-namespace

---
apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    secret-rev.acorn.io/secret_dir_redeploy: 677d9197a43dc1b2d2fcbc026c51462c8d16f90a1cbfc11d58a868b1f0256449
    secret-rev.acorn.io/secret_env_redeploy: 0b0c304d11b643e599d08d89090ab1bc4e7d25cd0b345e1194f99ce0411c4983
    secret-rev.acorn.io/secret_file_redeploy: 22e3f3fe588737e91b552db39c1b1abc0760633b6a840e61757fa771735c21a9
  creationTimestamp: null
  labels:
    acorn.io/app-name: app-name
    acorn.io/app-namespace: app-namespace
    acorn.io/app-public-name: app-name
    acorn.io/container-name: oneimage
    acorn.io/managed: "true"
    acorn.io/project-name: app-namespace
  name: oneimage
  namespace: app-created-namespace
spec:
  selector:
    matchLabels:
      acorn.io/app-name: app-name
      acorn.io/app-namespace: app-namespace
      acorn.io/container-name: oneimage
      acorn.io/managed: "true"
  strategy: {}
  template:
    metadata:
      annotations:
        acorn.io/container-spec: '{"dirs":{"noaction":{"secret":{"name":"secret_dir_noaction","onChange":"noAction"}},"redeploy":{"secret":{"name":"secret_dir_redeploy","onChange":"redeploy"}}},"environment":[{"name":"NOACTION","secret":{"key":"key","name":"secret_env_noaction","onChange":"noAction"}},{"name":"REDEPLOY","secret":{"key":"key","name":"secret_env_redeploy","onChange":"redeploy"}}],"files":{"mode":{"mode":"0123","secret":{"key":"key","name":"secret_file_noaction","onChange":"noAction"}},"noaction":{"secret":{"key":"key","name":"secret_file_noaction","onChange":"noAction"}},"redeploy":{"secret":{"key":"key","name":"secret_file_redeploy","onChange":"redeploy"}}},"image":"image-name","metrics":{},"probes":null}'
        secret-rev.acorn.io/secret_dir_redeploy: 677d9197a43dc1b2d2fcbc026c51462c8d16f90a1cbfc11d58a868b1f0256449
        secret-rev.acorn.io/secret_env_redeploy: 0b0c304d11b643e599d08d89090ab1bc4e7d25cd0b345e1194f99ce0411c4983
        secret-rev.acorn.io/secret_file_redeploy: 22e3f3fe588737e91b552db39c1b1abc0760633b6a840e61757fa771735c21a9
      creationTimestamp: null
      labels:
        acorn.io/app-name: app-name
        acorn.io/app-namespace: app-namespace
        acorn.io/app-public-name: app-name
        acorn.io/container-name: oneimage
        acorn.io/managed: "true"
        acorn.io/project-name: app-namespace
    spec:
      containers:
      - env:
        - name: NOACTION
          valueFrom:
            secretKeyRef:
              key: key
              name: secret_env_noaction
        - name: REDEPLOY
          valueFrom:
            secretKeyRef:
              key: key
              name: secret_env_redeploy
        image: image-name
        name: oneimage
        resources: {}
        volumeMounts:
        - mountPath: /mode
          name: secret--secret_file_noaction-0123
          subPath: key
        - mountPath: /noaction
          name: secret--secret_file_noaction
          subPath: key
        - mountPath: /redeploy
          name: secret--secret_file_redeploy
          subPath: key
        - mountPath: /noaction
          name: secret--secret_dir_noaction
        - mountPath: /redeploy
          name: secret--secret_dir_redeploy
      enableServiceLinks: false
      hostname: oneimage
      imagePullSecrets:
      - name: oneimage-pull-1234567890ab
      serviceAccountName: oneimage
      terminationGracePeriodSeconds: 5
      volumes:
      - name: secret--secret_dir_noaction
        secret:
          secretName: secret_dir_noaction
      - name: secret--secret_dir_redeploy
        secret:
          secretName: secret_dir_redeploy
      - name: secret--secret_file_noaction
        secret:
          secretName: secret_file_noaction
      - name: secret--secret_file_noaction-0123
        secret:
          defaultMode: 83
          secretName: secret_file_noaction
      - name: secret--secret_file_redeploy
        secret:
          secretName: secret_file_redeploy
status: {}

---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  annotations:
    secret-rev.acorn.io/secret_dir_redeploy: 677d9197a43dc1b2d2fcbc026c51462c8d16f90a1cbfc11d58a868b1f0256449
    secret-rev.acorn.io/secret_env_redeploy: 0b0c304d11b643e599d08d89090ab1bc4e7d25cd0b345e1194f99ce0411c4983
    secret-rev.acorn.io/secret_file_redeploy: 22e3f3fe588737e91b552db39c1b1abc0760633b6a840e61757fa771735c21a9
  creationTimestamp: null
  labels:
    acorn.io/app-name: app-name
    acorn.io/app-namespace: app-namespace
    acorn.io/app-public-name: app-name
    acorn.io/container-name: oneimage
    acorn.io/managed: "true"
    acorn.io/project-name: app-namespace
  name: oneimage
  namespace: app-created-namespace
spec:
  maxUnavailable: 25%
  selector:
    matchLabels:
      acorn.io/app-name: app-name
      acorn.io/app-namespace: app-namespace
      acorn.io/container-name: oneimage
      acorn.io/managed: "true"
status:
  currentHealthy: 0
  desiredHealthy: 0
  disruptionsAllowed: 0
  expectedPods: 0

---
apiVersion: v1
data:
  .dockerconfigjson: eyJhdXRocyI6eyJpbmRleC5kb2NrZXIuaW8iOnsiYXV0aCI6Ik9nPT0ifX19
kind: Secret
metadata:
  creationTimestamp: null
  labels:
    acorn.io/managed: "true"
    acorn.io/pull-secret: "true"
  name: oneimage-pull-1234567890ab
  namespace: app-created-namespace
type: kubernetes.io/dockerconfigjson

---
apiVersion: internal.acorn.io/v1
kind: AppInstance
metadata:
  creationTimestamp: null
  name: app-name
  namespace: app-namespace
  uid: 1234567890abcdef
spec:
  image: test
status:
  appImage:
    id: test
    imageData: {}
    vcs: {}
  appSpec:
    containers:
      oneimage:
        dirs:
          noaction:
            secret:
              name: secret_dir_noaction
              onChange: noAction
          redeploy:
            secret:
              name: secret_dir_redeploy
              onChange: redeploy
        environment:
        - name: NOACTION
          secret:
            key: key
            name: secret_env_noaction
            onChange: noAction
        - name: REDEPLOY
          secret:
            key: key
            name: secret_env_redeploy
            onChange: redeploy
        files:
          mode:
            mode: "0123"
            secret:
              key: key
              name: secret_file_noaction
              onChange: noAction
          noaction:
            secret:
              key: key
              name: secret_file_noaction
              onChange: noAction
          redeploy:
            secret:
              key: key
              name: secret_file_redeploy
              onChange: redeploy
        image: image-name
        metrics: {}
        probes: null
    secrets:
      secret_dir_noaction:
        type: opaque
      secret_dir_redeploy:
        type: opaque
      secret_env_noaction:
        type: opaque
      secret_env_redeploy:
        type: opaque
      secret_file_noaction:
        type: opaque
      secret_file_redeploy:
        type: opaque
  appStatus: {}
  columns: {}
  conditions:
    reason: Success
    status: "True"
    success: true
    type: defined
  defaults: {}
  namespace: app-created-namespace
  staged:
    appImage:
      imageData: {}
      vcs: {}
  summary: {}
`
