categories:
- security
labels:
  io.rancher.certified: operator
  io.cattle.role: project
questions:
- variable: defaultImage
  default: true
  description: "Use default Docker image"
  label: Use Default Image
  type: boolean
  show_subquestion_if: false
  group: "Container Images"
  subquestions:
  - variable: image.repository
    default: "ranchercharts/vault-operator"
    description: "Vault operator image name"
    type: string
    label: Vault Operator Image Name
  - variable: image.tag
    default: "0.1.9"
    description: "Values operator image tag"
    type: string
    label: Vault Operator Image Tag
  - variable: vault.baseImage
    default: "ranchercharts/vault"
    description: "Vault base image name"
    type: string
    label: Vault Base Image Name
  - variable: vault.version
    default: "1.2.2"
    description: "Values version"
    type: string
    label: Vault Base Image Version
  - variable: etcd-operator.image.repository
    default: "ranchercharts/coreos-etcd-operator"
    description: "etcd image name"
    type: string
    label: etcd Image Name
  - variable: etcd.image.tag
    default: "v0.9.4"
    description: "etcd image tag"
    type: string
    label: etcd Image Tag
# config vault service
- variable: vault.create
  default: true
  description: "Create a custom vault service"
  label: Create a New Custom Vault Service
  type: boolean
  group: "Vault Service"
  show_subquestion_if: true
  subquestions:
  - variable: vault.name
    default: "my-vault"
    label: Vault Service Name
    description: "Set the name of custom vault service"
    type: string
    required: true
  - variable: vault.node
    default: 3
    label: Vault Service Nodes
    description: "Set the number of vault nodes"
    min: 1
    type: int
    required: true
  - variable: vault.version
    default: "1.2.2"
    label: Set Vault Version
    description: "Set the version of custom vault service"
    type: enum
    required: true
    options:
      - "1.2.1"
      - "1.2.2"
# etcd-operator configs
- variable: etcd-operator.deployments.backupOperator
  default: true
  description: "Deploy the etcd backup operator, one time deployment, delete once completed"
  label: Deploy the etcd Backup Operator
  type: boolean
  group: "etcd-operators"
- variable: etcd-operator.deployments.restoreOperator
  default: true
  description: "Deploy the etcd restore operator, one time deployment, delete once completed"
  label: Deploy the etcd Restore Operator
  type: boolean
  group: "etcd-operators"
