kind: Deployment
apiVersion: apps/v1
metadata:
  name: oneimage
  namespace: app-created-namespace
  labels:
    "acorn.io/app-namespace": "app-namespace"
    "acorn.io/app-name": "app-name"
    "acorn.io/container-name": "oneimage"
    "acorn.io/managed": "true"
spec:
  selector:
    matchLabels:
      "acorn.io/app-namespace": "app-namespace"
      "acorn.io/app-name": "app-name"
      "acorn.io/container-name": "oneimage"
      "acorn.io/managed": "true"
  template:
    metadata:
      labels:
        "acorn.io/app-namespace": "app-namespace"
        "acorn.io/app-name": "app-name"
        "acorn.io/container-name": "oneimage"
        "acorn.io/managed": "true"
      annotations:
        acorn.io/container-spec: '{"files":{"content-test":{"content":"YmFzZQ==","mode":"0644","secret":{}},"content-test-mode":{"content":"YmFzZS1tb2Rl","mode":"0123","secret":{}},"secret-test":{"mode":"644","secret":{"key":"key-name","name":"ref"}}},"image":"image-name","probes":null,"sidecars":{"sidecar":{"files":{"sidecar-content-test":{"content":"c2lkZWNhcg==","mode":"0644","secret":{}},"sidecar-content-test-mode":{"content":"c2lkZWNhci1tb2Rl","mode":"0123","secret":{}}},"image":"image-name","probes":null}}}'
    spec:
      terminationGracePeriodSeconds: 5
      imagePullSecrets:
        - name: oneimage-pull-1234567890ab
      enableServiceLinks: false
      hostname: oneimage
      serviceAccountName: oneimage
      containers:
        - name: oneimage
          image: image-name
          volumeMounts:
          - mountPath: /content-test
            name: files
            subPath: 8bbe3f160ad7
          - mountPath: /content-test-mode
            name: files-0123
            subPath: 4b55bb46c09e
          - mountPath: /secret-test
            name: secret--ref
            subPath: key-name
        - name: sidecar
          image: image-name
          volumeMounts:
            - mountPath: /sidecar-content-test
              name: files
              subPath: f88478b1092a
            - mountPath: /sidecar-content-test-mode
              name: files-0123
              subPath: 9f61e131eb0e
      volumes:
      - name: files
        configMap:
          name: files
      - name: files-0123
        configMap:
          defaultMode: 0123
          name: files-0123
      - name: secret--ref
        secret:
          secretName: ref

