categories:
- Cache
questions:
- variable: defaultImage
  default: "true"
  description: "Use default Docker image"
  label: Use Default Images
  type: boolean
  show_subquestion_if: false
  group: "Container Images"
  subquestions:
  - variable: image
    default: "memcached"
    description: "Memcached Docker image"
    type: string
    label: Memcached Docker Image
  - variable: imageTag
    default: "1.5.6-alpine"
    description: "memcached Docker image tag"
    type: string
    label: Memcached Docker Image Tag
- variable: replicaCount
  default: "3"
  description: "Number or Memcached pods to run"
  type: string
  required: true
  label: Memcached Replicas
  group: "Memcached Settings"
- variable: AntiAffinity
  default: "soft"
  description: "Select AnitAffinity as either hard or soft, default is soft"
  type: enum
  options:
    - "soft"
    - "hard"
  required: true
  label: AnitAffinity
  group: "Memcached Settings"
- variable: showMemcachedOptions
  default: "false"
  description: "Show memcached configurations(ref: https://github.com/memcached/memcached/wiki/ConfiguringServer#commandline-arguments)"
  label: Set Advanced Memcached Configurations
  type: boolean
  show_subquestion_if: true
  group: "Memcached Settings"
  subquestions:
  - variable: memcached.maxItemMemory
    default: "64"
    description: "Max memory to use for items(in MB), from 1-65535"
    type: string
    label: max_memory(MB)
    required: true
  - variable: memcached.verbosity
    default: "v"
    description: "Verbosity level (v, vv, or vvv)"
    type: enum
    label: Verbosity Level
    options:
      - "v"
      - "vv"
      - "vvv"
    required: true
