kind: Pod
apiVersion: v1
metadata:
  name: efs-provisioner
spec:
  containers:
    - name: efs-provisioner
      image: quay.io/external_storage/efs-provisioner:v0.1.0
      env:
        - name: PROVISIONER_NAME
          value: "example.com/aws-efs"
        - name: FILE_SYSTEM_ID
          valueFrom:
            configMapKeyRef:
              name: efs-provisioner
              key: file.system.id
        - name: AWS_REGION
          valueFrom:
            configMapKeyRef:
              name: efs-provisioner
              key: aws.region
      volumeMounts:
        - name: pv-volume
          mountPath: /persistentvolumes
  volumes:
    - name: pv-volume
      nfs:
        server: fs-47a2c22e.efs.us-west-2.amazonaws.com
        path: /persistentvolumes
