categories:
- Database
- SQL Server
labels:
  io.rancher.certified: partner
questions:
- variable: image.repository
  default: "windocks/windocks-sql-server-proxy"
  description: "Docker image name"
  type: string
  required: true
  label: Image Name for Sqlproxy
  group: "Sqlproxy Settings"
- variable: image.tag
  default: "1.5.0"
  description: "Image tag"
  type: string
  required: true
  label: Image tag
  group: "Sqlproxy Settings"
- variable: image.pullPolicy
  default: "Always"
  description: "Image pull policy"
  type: enum
  required: true
  options:
    - "Always"
    - "IfNotPresent"
  label: Image pull polcy
  group: "Sqlproxy Settings"
- variable: sqlproxy.windocksServerHostname
  default: "34.220.44.23"
  description: "IP or hostname for Windocks server"
  type: string
  required: true
  label: Windocks Server hostname
  group: "Sqlproxy Settings"
- variable: sqlproxy.windocksServerPort
  default: "3000"
  description: "Port for Windocks API"
  type: string
  required: false
  label: Windocks port
  group: "Sqlproxy Settings"
- variable: sqlproxy.windocksImageName
  default: "clone"
  description: "Windocks image name from which SQL Server containers and database clones are created"
  type: string
  required: true
  label: Windocks image name
  group: "Sqlproxy Settings"
- variable: sqlproxy.windocksContainerName
  default: ""
  description: "Name to use for Windocks container created by Sqlproxy"
  type: string
  required: false
  label: Windocks container name
  group: "Sqlproxy Settings"
- variable: sqlproxy.windocksPersistentContainerPort
  default: ""
  description: "Set this if you do not want Sqlproxy to create and manage the Windocks container. You must create the Windocks container using the Windocks web app or a docker client"
  type: string
  required: false
  label: Pre-existing Windocks container port
  group: "Sqlproxy Settings"
- variable: sqlproxy.port
  default: "3087"
  description: "Container port for access to Windocks Sql proxy"
  type: string
  required: true
  label: Sqlproxy listening port
  group: "Sqlproxy Settings"
- variable: sqlproxy.authSecretName
  default: ""
  description: "Secret; WINDOCKS_REQUIRED_USERNAME='' WINDOCKS_REQUIRED_PASSWORD='' WINDOCKS_REQUIRED_CONTAINER_SAPASSWORD=''"
  type: string
  label: Secret for Windocks API user, passwd, and desired SQL sa password
  required: true
  group: "Sqlproxy Settings"
- variable: sqlproxy.tls
  default: ""
  description: "Set to true for TLS"
  type: string
  label: TLS connection
  required: false
  group: "Sqlproxy Settings"
- variable: sqlproxy.sslSecretName
  default: ""
  description: "Secret - in a file with tls.key:... and tls.crt:......"
  type: string
  label: Secret for ssl cert and key (files)
  required: false
  group: "Sqlproxy Settings"
- variable: sqlproxy.localHostNameForTls
  default: ""
  description: "For TLS connections, hostname for the sql proxy"
  type: string
  label: For TLS connections, hostname for sql proxy service
  required: false
  group: "Sqlproxy Settings"
- variable: service.port
  default: "3087"
  description: "Service port for access to Windocks Sql proxy"
  type: string
  label: Windocks SQL proxy NodePort number
  required: true
  group: "Sqlproxy Settings"
- variable: service.loadBalancerIP
  default: ""
  description: "Load balancer IP"
  type: string
  label: Load balancer IP
  required: false
  group: "Sqlproxy Settings"
- variable: service.type
  default: "ClusterIP"
  description: "MySQL K8s Service type"
  type: enum
  group: "Services and Load Balancing"
  options:
    - "ClusterIP"
    - "LoadBalancer"
    - "NodePort"
  required: true
  label: Sqlproxy Service Type