{
  "kind": "Template",
  "apiVersion": "v1",
  "metadata": {
    "name": "glusterfs-existing-pvc-nginx-template",
    "creationTimestamp": null,
    "annotations": {
      "description": "nginx persistent glusterfs application template using existing PVC",
      "tags": "nginx glusterfs"
    }
  },
  "objects": [
    {
      "apiVersion": "v1",
      "id": "glusterfs-nginx-template",
      "kind": "Pod",
      "metadata": {
        "name": "glusterfs-nginx-template"
      },
      "spec": {
        "containers": [
            {
                "name": "glusterfs-nginx-template",
                "image": "fedora/nginx",
                "volumeMounts": [
                    {
                        "mountPath": "/usr/share/nginx/html/test",
                        "name": "templatevol"
                    }
                ],
                "securityContext": {
                    "capabilities": {},
                    "privileged": true
                }
            }
        ],
        "volumes": [
            {
                "name": "templatevol",
                "persistentVolumeClaim": {
                    "claimName": "claim-default2"
                }                
            }
        ],
        "restartPolicy": "Always"
      }
    }
  ]
}