labels:
  io.rancher.certified: partner
  io.cattle.role: cluster
rancher_min_version: 2.3.0
questions:
#image configurations
- variable: defaultImage
  default: true
  description: "Use default Sysdig image or specify a custom one"
  label: Use Default Sysdig Image
  type: boolean
  show_subquestion_if: false
  group: "Container Images"
  subquestions:
  - variable: image.repository
    default: "ranchercharts/sysdig"
    description: "Sysdig Image Name"
    type: string
    label: Sysdig Image Name
  - variable: image.tag
    default: "0.93.0"
    description: "Sysdig Image Tag"
    type: string
    label: Sysdig Image Tag
#agent configurations
- variable: sysdig.accessKey
  default: ""
  description: "You need your Sysdig accessKey before running agents"
  type: string
  required: true
  label: Sysdig accessKey
- variable: sysdig.backend
  default: "Sysdig SaaS"
  description: "Where is Sysdig backend hosted on"
  type: enum
  label: Sysdig Backend
  group: "Agent Configuration"
  required: true
  options:
    - "sysdig-saas"
    - "self-hosted"
- variable: sysdig.settings.collector
  required: true
  default: "collector.sysdigcloud.com"
  description: "The host of the Sysdig collector the agent sends data to, only set this option if you need the agent to send data to a custom backend"
  type: string
  label: Sysdig Collector
  group: "Agent Configuration"
  show_if: "sysdig.backed=self-hosted"
- variable: sysdig.settings.collector_port
  required: true
  default: "6443"
  description: "The port where the Sysdig collector listens to"
  type: string
  label: Sysdig Collector Port
  group: "Agent Configuration"
  show_if: "sysdig.backed=self-hosted"
- variable: sysdig.settings.ssl
  required: true
  default: true
  description: "Use SSL to connect to the Sysdig collector"
  type: boolean
  label: Sysdig Collector SSL
  group: "Agent Configuration"
  show_if: "sysdig.backed=self-hosted"
- variable: sysdig.settings.ssl_verify_certificate
  required: true
  default: true
  description: "Validate SSL certificate from the Sysdig collector"
  type: boolean
  label: Sysdig Collector Verify SSL Certificate
  group: "Agent Configuration"
  show_if: "sysdig.backed=self-hosted&&sysdig.settings.ssl=true"
- variable: sysdig.settings.tags
  default: ""
  description: "Agent tags, separated by commas. For example: 'linux:ubuntu,dept:dev,local:nyc'"
  type: string
  label: Agent Tags
  group: "Agent Configuration"
- variable: ebpf.enabled
  default: false
  description: "Enable eBPF support for Sysdig agent instead of kernel module"
  type: boolean
  label: Enable eBPF
  group: "Agent Configuration"
#proxy configurations
- variable: proxy.httpProxy
  default: ""
  description: "An http URL to use as a proxy for http requests"
  type: string
  label: Proxy for HTTP Requests
  group: "Proxy Configuration"
- variable: proxy.httpsProxy
  default: ""
  description: "An http URL to use as a proxy for https requests"
  type: string
  label: Proxy for HTTPS Requests
  group: "Proxy Configuration"
- variable: proxy.noProxy
  default: ""
  description: "A space-separated list of URLs for which no proxy should be used"
  type: string
  label: No Proxy List (separated by a space)
  group: "Proxy Configuration"
