breaking change(kromgo) update kromgo config (#48654)

**Description**
kromgo configuration change from version 0.10.X to 0.12 .X made
adjustment to the kromgo config.
⚒️ Fixes  # <!--(issue)-->
Kromgo will fail to start if the config does not have the correct keys
and formats.

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [X] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [X] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Xstar97TheNoob
2026-06-04 03:47:02 -04:00
committed by GitHub
parent 8d48dfca44
commit a6a0aac57c
2 changed files with 61 additions and 21 deletions
+4 -5
View File
@@ -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
+57 -16
View File
@@ -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