# Default values for windocks-sql-proxy.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: windocks/windocks-sql-server-proxy
  tag: 1.5.0
  pullPolicy: Always

service:
  type: LoadBalancer
  port: 3087
  securePort: 3088
  targetPort: 3087
  targetSecurePort: 3088

ingress:
  enabled: false
  annotations: {}
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
  path: /
  hosts:
    - chart-example.local
  tls: []
  #  - secretName: chart-example-tls
  #    hosts:
  #      - chart-example.local

resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #  cpu: 100m
  #  memory: 128Mi
  # requests:
  #  cpu: 100m
  #  memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}

sqlproxy:
  port: "3087"
  windocksServerHostname: "34.220.44.23"
  windocksServerPort: "3000"
  windocksImageName: "clone"
  # windocksContainerName: "mycontainername"
  # windocksPersistentContainerPort; "10122"
  # windocksPersistentContainerPort is the port on which the proxy expects the pre created Windocks container
  tls: "false"
  localHostNameForTls: ""
  # Secret names
  authSecretName: proxy-secrets
  sslSecretName: proxy-secret-ssl
  # kubectl create secret generic proxy-secrets --from-literal=WINDOCKS_REQUIRED_USERNAME='user' --from-literal=WINDOCKS_REQUIRED_PASSWORD='pass' --from-literal=WINDOCKS_REQUIRED_CONTAINER_SAPASSWORD='sapass'
  # kubectl create -f file-that-contains-tls.key-and-tls.crt-and-name-proxy-secret-ssl
