# yaml-language-server: $schema=./values.schema.json
image:
  repository: ghcr.io/k8s-at-home/leaf2mqtt
  tag: v0.6@sha256:aef098fe333c18f0efc31dca6256e2c0aa209befb6b339d948e62c0ee5877391
  pullPolicy: IfNotPresent
service:
  main:
    enabled: false
    ports:
      main:
        enabled: false

securityContext:
  container:
    readOnlyRootFilesystem: false
    runAsNonRoot: false
    runAsUser: 0
    runAsGroup: 0
workload:
  main:
    podSpec:
      containers:
        main:
          probes:
            liveness:
              enabled: false
            readiness:
              enabled: false
            startup:
              enabled: false
          env:
            LEAF_TYPE: ""
            MQTT_HOST: ""
            MQTT_PORT: 1883
            MQTT_BASE_TOPIC: leaf
            UPDATE_INTERVAL_MINUTES: 60
            CHARGING_UPDATE_INTERVAL_MINUTES: 60
            LOG_LEVEL: "Warning"
            LEAF_USERNAME: "leafuser"
            LEAF_PASSWORD: "changeme"
            MQTT_USERNAME: "mqttuser"
            MQTT_PASSWORD: "changeme"
