categories:
- storage
namespace: openebs
questions:
- variable: defaultImage
  default: "true"
  description: "Use default OpenEBS Docker image"
  label: Use Default Image
  type: boolean
  show_subquestion_if: false
  group: "Container Images"
  subquestions:
  - variable: apiserver.image
    default: "openebs/m-apiserver"
    description: "Default API Server image for OpenEBS"
    type: string
    label: API Server Image
  - variable: apiserver.imageTag
    default: "0.6.0"
    description: "The image tag of API Server image"
    type: string
    label: Image Tag For OpenEBS API Server Image
  - variable: provisioner.image
    default: "openebs/openebs-k8s-provisioner"
    description: "Default K8s Provisioner image for OpenEBS"
    type: string
    label: Provisioner Image
  - variable: provisioner.imageTag
    default: "0.6.0"
    description: "The image tag of Provisioner image"
    type: string
    label: Image Tag For Provisioner Image
  - variable: snapshotOperator.controller.image
    default: "openebs/snapshot-controller"
    description: "Default Snapshot Controller image for OpenEBS"
    type: string
    label: Snapshot Controller Image
  - variable: snapshotOperator.controller.imageTag
    default: "0.6.0"
    description: "The image tag of Snapshot Controller image"
    type: string
    label: Image Tag For OpenEBS Snapshot Controller Image
  - variable: snapshotOperator.provisioner.image
    default: "openebs/snapshot-provisioner"
    description: "Default Snapshot Provisioner image for OpenEBS"
    type: string
    label: Snapshot Provisioner Image
  - variable: snapshotOperator.provisioner.imageTag
    default: "0.6.0"
    description: "The image tag of Snapshot Provisioner image"
    type: string
    label: Image Tag For OpenEBS Snapshot Provisioner Image
  - variable: jiva.image
    default: "openebs/jiva"
    description: "Default Jiva Storage Engine image for OpenEBS"
    type: string
    label: Jiva Storage Enginer Image
  - variable: jiva.imageTag
    default: "0.6.0"
    description: "The image tag of Jiva image"
    type: string
    label: Image Tag For OpenEBS Jiva Storage Engine Image
  - variable: grafana.image
    default: "grafana/grafana"
    description: "Default Grafana Dashboard image"
    type: string
    label: Grafana Dashboard Image
    show_if: "policies.monitoring.enabled=true&&defaultImage=false"
  - variable: grafana.imageTag
    default: "4.6.3"
    description: "The image tag of Grafana Dashboard"
    type: string
    label: Image Tag For Grafana Image
    show_if: "policies.monitoring.enabled=true&&defaultImage=false"
  - variable: prometheus.image
    default: "prom/prometheus"
    description: "Default Prometheus image"
    type: string
    label: Prometheus Image
    show_if: "policies.monitoring.enabled=true&&defaultImage=false"
  - variable: prometheus.imageTag
    default: "v2.1.0"
    description: "The image tag of Prometheus"
    type: string
    label: Image Tag For Prometheus Image
    show_if: "policies.monitoring.enabled=true&&defaultImage=false"
  - variable: policies.monitoring.image
    default: "openebs/m-exporter"
    description: "Default OpeneEBS Exporter image"
    type: string
    label: Monitoring Exporter Image
    show_if: "policies.monitoring.enabled=true&&defaultImage=false"
  - variable: policies.monitoring.imageTag
    default: "0.6.0"
    description: "The image tag of OpenEBS Exporter"
    type: string
    label: Image Tag For OpenEBS Exporter Image
    show_if: "policies.monitoring.enabled=true&&defaultImage=false"
- variable: defaultPorts
  default: "true"
  description: "Use default Communication Ports"
  label: Use Default Ports
  type: boolean
  show_subquestion_if: false
  group: "Communication Ports"
  subquestions:
  - variable: apiserver.ports.externalPort
    default: 5656
    description: "Default External Port for OpenEBS API Server"
    type: int
    min: 0
    max: 9999
    label: OpenEBS API Server External Port
  - variable: apiserver.ports.internalPort
    default: 5656
    description: "Default Internal Port for OpenEBS API Server"
    type: int
    min: 0
    max: 9999
    label: OpenEBS API Server Internal Port
  - variable: grafana.ports.externalPort
    default: 3000
    description: "Default External Port for Grafana Dashboard"
    type: int
    min: 0
    max: 9999
    label: Grafana Dashboard External Port
    show_if: "policies.monitoring.enabled=true&&defaultPorts=false"
  - variable: grafana.ports.internalPort
    default: 3000
    description: "Default Internal Port for Grafana Dashboard"
    type: int
    min: 0
    max: 9999
    label: Grafana Dashboard Internal Port
    show_if: "policies.monitoring.enabled=true&&defaultPorts=false"
  - variable: grafana.ports.nodePort
    default: 32515
    min: 30000
    max: 32767
    description: "Default Node Port for Grafana Dashboard"
    type: int
    label: Grafana Dashboard Node Port
    show_if: "policies.monitoring.enabled=true&&defaultPorts=false"
  - variable: prometheus.ports.externalPort
    default: 80
    description: "Default External Port for Prometheus"
    type: int
    min: 0
    max: 9999
    label: Prometheus External Port
    show_if: "policies.monitoring.enabled=true&&defaultPorts=false"
  - variable: prometheus.ports.internalPort
    default: 9090
    min: 0
    max: 9999
    description: "Default Internal Port for Prometheus"
    type: int
    label: Prometheus Internal Port
    show_if: "policies.monitoring.enabled=true&&defaultPorts=false"
  - variable: prometheus.ports.nodePort
    default: 32514
    description: "Default Node Port for Prometheus"
    type: int
    min: 30000
    max: 32767
    label: Prometheus Node Port
    show_if: "policies.monitoring.enabled=true&&defaultPorts=false"
- variable: jiva.replicas
  default: 3
  description: "Default number of Jiva Replicas"
  type: int
  min: 0
  max: 99
  label: Jiva Replicas
  group: "Storage Engine Settings"
- variable: policies.monitoring.enabled
  default: true
  description: "Enable prometheus monitoring"
  type: boolean
  label: Enable Prometheus Monitoring
  group: "Monitoring Settings"
