image:
  repository: tccr.io/truecharts/zwavejs-ui
  pullPolicy: IfNotPresent
  tag: v8.19.0@sha256:c194bbb81c7015005d43807ff0c35a270bb3daac75d4fa1fa3bab20811843c34
service:
  main:
    ports:
      main:
        port: 8091
        targetPort: 8091
  ws:
    enabled: true
    ports:
      ws:
        enabled: true
        port: 10046
        targetPort: 3000
persistence:
  config:
    enabled: true
    mountPath: "/usr/src/app/store"
# affinity:
#   nodeAffinity:
#     requiredDuringSchedulingIgnoredDuringExecution:
#       nodeSelectorTerms:
#       - matchExpressions:
#         - key: app
#           operator: In
#           values:
#           - zwave-controller

portal:
  open:
    enabled: true
securityContext:
  container:
    readOnlyRootFilesystem: false
workload:
  main:
    podSpec:
      containers:
        main:
          probes:
            liveness:
              enabled: true
              # custom: true
              # spec:
              #   failureThreshold: 5
              #   httpGet:
              #     path: /health
              #     port: http
              #     httpHeaders:
              #       - name: Accept
              #         value: text/plain
              #   initialDelaySeconds: 30
              #   periodSeconds: 10
              #   timeoutSeconds: 10
            readiness:
              enabled: true
              # custom: true
              # spec:
              #   failureThreshold: 5
              #   httpGet:
              #     path: /health
              #     port: http
              #     httpHeaders:
              #       - name: Accept
              #         value: text/plain
              #   initialDelaySeconds: 30
              #   periodSeconds: 10
              #   timeoutSeconds: 10
            startup:
              enabled: false
              # custom: true
              # spec:
              #   failureThreshold: 5
              #   httpGet:
              #     path: /health
              #     port: http
              #     httpHeaders:
              #       - name: Accept
              #         value: text/plain
              #   initialDelaySeconds: 30
              #   periodSeconds: 10
              #   timeoutSeconds: 10
