diff --git a/charts/stable/kromgo/Chart.yaml b/charts/stable/kromgo/Chart.yaml index d4287f41712..cab771963bd 100644 --- a/charts/stable/kromgo/Chart.yaml +++ b/charts/stable/kromgo/Chart.yaml @@ -9,7 +9,7 @@ annotations: trueforge.org/min_helm_version: "3.14" trueforge.org/train: stable apiVersion: v2 -appVersion: 0.10.0 +appVersion: 0.14.0 dependencies: - name: common version: 29.3.4 @@ -35,9 +35,8 @@ maintainers: url: https://truecharts.org name: kromgo sources: - - https://ghcr.io/kashalls/kromgo + - https://ghcr.io/home-operations/kromgo - https://github.com/trueforge-org/truecharts/tree/master/charts/stable/kromgo - - https://https://github.com/kashalls/kromgo + - https://github.com/home-operations/kromgo type: application -version: 2.5.0 - +version: 3.0.0 diff --git a/charts/stable/kromgo/values.yaml b/charts/stable/kromgo/values.yaml index cf7eea25631..9670d7c08cc 100644 --- a/charts/stable/kromgo/values.yaml +++ b/charts/stable/kromgo/values.yaml @@ -1,26 +1,61 @@ # yaml-language-server: $schema=./values.schema.json image: - repository: ghcr.io/kashalls/kromgo - tag: v0.10.0@sha256:965ecc92d68dc1a4a969397855367bbc70da03227a941ea607b73bb7e0b78fd6 + repository: ghcr.io/home-operations/kromgo + tag: 0.14.0@sha256:94ee0e2561048dc4637ca21b9926b76d87c15baf951678c7febb852269b7e10b pullPolicy: IfNotPresent # Raw Kromgo configuration -# Replace it with your configuration -# https://github.com/kashalls/kromgo/blob/main/config.yaml.example -kromgo: - badge: - font: Verdana.ttf # Relative to /kromgo - Verdana.ttf is available in the container - size: 12 - metrics: - - name: talos_version - query: node_os_info{ name="Talos"} - label: version_id - title: Talos Version +# checkout the readme for the current configuration setup +# https://github.com/home-operations/kromgo#badges - - name: kubernetes_version +kromgo: + defaults: + badge: + # dejavu-sans (default, shields.io-style), dejavu-sans-bold, comic-neue, comic-neue-bold + font: dejavu-sans + # badge font size in points + size: 11 + # flat (default), flat-square, or plastic + style: flat + gallery: + # list badges in the gallery (default); true hides them + hidden: false + graph: + # cap on a graph's requested window ("0" = unlimited) + maxDuration: 1h + # image width in px + width: 600 + # image height in px + height: 200 + # show the series legend + legend: true + # color theme — see Themes below + theme: light + # text font — see Themes below + font: dejavu-sans + gallery: + # list graphs in the gallery (default); true hides them + hidden: false + badges: + - id: talos_version + query: node_os_info{ name="Talos"} + valueExpr: labels["version_id"] + # mdi:server-outline + # si:kubernetes + icon: si:talos + title: Talos Version + - id: kubernetes_version query: kubernetes_build_info{ service="kubernetes"} - label: git_version + valueExpr: labels["git_version"] + icon: si:kubernetes title: Kubernetes Version + - id: flux_version + query: label_replace(gotk_resource_info{exported_namespace="flux-system",name="flux",customresource_kind="Kustomization"}, "revision", "$1", "revision", "(.+)@sha256:.+") + valueExpr: labels["revision"] + icon: si:flux + title: Flux Version + # Per-badge gallery + # gallery: {hidden: true} service: main: @@ -40,6 +75,12 @@ workload: PROMETHEUS_URL: "http://prometheus-operated.kube-prometheus-stack.svc.cluster.local:9090" SERVER_PORT: "{{ $.Values.service.main.ports.main.port }}" HEALTH_PORT: "{{ $.Values.service.main.ports.health.port }}" + # SERVER_LOGGING no false Enable HTTP request access logging + # SERVER_READ_TIMEOUT no — HTTP read timeout (e.g. 5s) + # SERVER_WRITE_TIMEOUT no — HTTP write timeout (e.g. 10s) + # QUERY_TIMEOUT no 30s Timeout applied to each Prometheus query + # LOG_LEVEL no info Log level: debug, info, warn, error + # LOG_FORMAT no json Log format: json or text probes: liveness: type: http @@ -67,5 +108,5 @@ persistence: type: configmap readOnly: true objectName: kromgo-configfile - mountPath: /kromgo/config.yaml + mountPath: /config/config.yaml subPath: config.yaml