categories:
- storage
labels:
  io.rancher.certified: experimental
questions:
- variable: defaultImage
  default: "true"
  description: "Use default Docker image"
  label: Use Default Image
  type: enum
  group: "Container Images"
  options:
    - "true"
    - "false"
  show_subquestion_if: false
  subquestions:
  - variable: image.repository
    default: "quay.io/kubernetes_incubator/nfs-provisioner"
    description: "Docker image name"
    type: string
    label: NFS Image Name
  - variable: image.tag
    default: "v1.0.8"
    description: "NFS image tag"
    type: string
    label: Image Tag
- variable: persistence.defaultClass
  default: "true"
  description: "set as default Storage Class"
  type: enum
  options:
    - "true"
    - "false"
  required: true
  label: Set NFS to Default StorageClass
  group: "NFS Settings"
- variable: persistence.hostPath
  default: "/srv"
  description: "for GKE uses /home/kubernetes/nfs/ instead, custom nfs host path read and write permission are required, default to /srv"
  type: string
  label: NFS Host Path
  required: true
  group: "NFS Settings"
- variable: nfs.hostPort
  default: "2049"
  required: true
  description: "specify the host port used for nfs-provisioner server"
  type: int
  label: NFS Host Port
  group: "NFS Settings"
