apiVersion: v1
kind: Pod
metadata:
  name: "flexvolume-digitalocean-example"
spec:
  containers:
    - name: "ghost"
      image: "ghost"
      ports:
        - name: "http"
          containerPort: 2368
      volumeMounts:
        - name: "ghost-data"
          mountPath: "/var/lib/ghost"
  volumes:
    - name: "ghost-data"
      flexVolume:
        driver: "digitalocean"
        fsType: "ext4"
        secretRef:
          name: "do-api-key"
        options:
          volumeId: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
