apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-sidecar-cloudinfra
  labels:
    app: rigoletto
spec:
  replicas: 1
  selector:
    matchLabels:
      app: rigoletto
  template:
    metadata:
      labels:
        app: rigoletto
    spec:
      containers:
        - name: rigoletto
          image: ubuntu
          command: ["/bin/sleep", "3650d"]
          volumeMounts:
            - mountPath: "/var/aci"
              name: aci-share    
      volumes:
        - name: aci-share
          persistentVolumeClaim:
            claimName: aci-share
