From 9c702a443c9d3cd5afd697c13833d8b8a82377ae Mon Sep 17 00:00:00 2001 From: Aleksei Sviridkin Date: Mon, 12 Oct 2026 07:50:58 +0300 Subject: [PATCH] chore(goldpinger): bump vendored chart to 1.2.0 Refresh the vendored chart from 1.0.1 to 1.2.0 so the package tracks upstream. The new chart adds an optional HTTPRoute template and optional UDP probing, both disabled by default, and moves the default image from 3.10.2 to 3.11.5 (UDP probe metrics, stale per-peer metric cleanup, a cluster_health panic fix, dependency CVE and UI XSS fixes). Declare the vendored dependency in the umbrella chart so Helm lint can validate the package without changing its rendered resources. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin --- packages/system/goldpinger/Chart.yaml | 4 +++ .../goldpinger/charts/goldpinger/Chart.yaml | 4 +-- .../goldpinger/templates/daemonset.yaml | 11 +++++++ .../goldpinger/templates/httproute.yaml | 32 +++++++++++++++++++ .../charts/goldpinger/templates/service.yaml | 6 ++++ .../goldpinger/charts/goldpinger/values.yaml | 14 ++++++++ 6 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 packages/system/goldpinger/charts/goldpinger/templates/httproute.yaml diff --git a/packages/system/goldpinger/Chart.yaml b/packages/system/goldpinger/Chart.yaml index db7c25e3b..e7c2d49f6 100644 --- a/packages/system/goldpinger/Chart.yaml +++ b/packages/system/goldpinger/Chart.yaml @@ -1,3 +1,7 @@ apiVersion: v2 name: cozy-goldpinger version: 0.0.0 # Placeholder, the actual version will be automatically set during the build process +dependencies: + - name: goldpinger + version: "*" + repository: file://charts/goldpinger diff --git a/packages/system/goldpinger/charts/goldpinger/Chart.yaml b/packages/system/goldpinger/charts/goldpinger/Chart.yaml index 932c0425b..7275e00e8 100644 --- a/packages/system/goldpinger/charts/goldpinger/Chart.yaml +++ b/packages/system/goldpinger/charts/goldpinger/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v1 -appVersion: 3.10.2 +appVersion: 3.11.5 description: Goldpinger is a tool to help debug, troubleshoot and visualize network connectivity and slowness issues. home: https://github.com/bloomberg/goldpinger name: goldpinger sources: - https://github.com/bloomberg/goldpinger -version: 1.0.1 +version: 1.2.0 diff --git a/packages/system/goldpinger/charts/goldpinger/templates/daemonset.yaml b/packages/system/goldpinger/charts/goldpinger/templates/daemonset.yaml index 54034a649..13b850a35 100644 --- a/packages/system/goldpinger/charts/goldpinger/templates/daemonset.yaml +++ b/packages/system/goldpinger/charts/goldpinger/templates/daemonset.yaml @@ -50,6 +50,12 @@ spec: value: "{{ .Values.goldpinger.port }}" - name: LABEL_SELECTOR value: "app.kubernetes.io/name={{ include "goldpinger.name" . }}" + {{- if .Values.goldpinger.udp.enabled }} + - name: UDP_ENABLED + value: "true" + - name: UDP_PORT + value: "{{ .Values.goldpinger.udp.port }}" + {{- end }} {{- if .Values.extraEnv -}} {{ toYaml .Values.extraEnv | nindent 12 }} {{- end }} @@ -66,6 +72,11 @@ spec: hostPort: {{ $.Values.goldpinger.port }} {{- end }} {{- end }} + {{- if .Values.goldpinger.udp.enabled }} + - name: udp-probe + containerPort: {{ .Values.goldpinger.udp.port }} + protocol: UDP + {{- end }} livenessProbe: httpGet: path: / diff --git a/packages/system/goldpinger/charts/goldpinger/templates/httproute.yaml b/packages/system/goldpinger/charts/goldpinger/templates/httproute.yaml new file mode 100644 index 000000000..e349d45d6 --- /dev/null +++ b/packages/system/goldpinger/charts/goldpinger/templates/httproute.yaml @@ -0,0 +1,32 @@ +{{- if .Values.httpRoute.enabled -}} +{{- $fullName := include "goldpinger.fullname" . -}} +{{- $svcPort := .Values.service.port -}} +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: {{ $fullName }} + labels: + {{- include "goldpinger.labels" . | nindent 4 }} + {{- with .Values.httpRoute.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- with .Values.httpRoute.hostnames }} + hostnames: + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.httpRoute.parentRefs }} + parentRefs: + {{- toYaml . | nindent 4 }} + {{- end }} + rules: + - backendRefs: + - name: {{ $fullName }} + port: {{ $svcPort }} + weight: 1 + matches: + - path: + type: PathPrefix + value: / +{{- end }} diff --git a/packages/system/goldpinger/charts/goldpinger/templates/service.yaml b/packages/system/goldpinger/charts/goldpinger/templates/service.yaml index 43a3e85da..35a3450dd 100644 --- a/packages/system/goldpinger/charts/goldpinger/templates/service.yaml +++ b/packages/system/goldpinger/charts/goldpinger/templates/service.yaml @@ -18,6 +18,12 @@ spec: targetPort: {{ .Values.goldpinger.port }} protocol: TCP name: http + {{- if .Values.goldpinger.udp.enabled }} + - port: {{ .Values.goldpinger.udp.port }} + targetPort: {{ .Values.goldpinger.udp.port }} + protocol: UDP + name: udp-probe + {{- end }} selector: {{- include "goldpinger.selectorLabels" . | nindent 4 }} {{- if .Values.service.loadBalancerSourceRanges }} diff --git a/packages/system/goldpinger/charts/goldpinger/values.yaml b/packages/system/goldpinger/charts/goldpinger/values.yaml index 1c80a1b11..3d290f618 100644 --- a/packages/system/goldpinger/charts/goldpinger/values.yaml +++ b/packages/system/goldpinger/charts/goldpinger/values.yaml @@ -23,6 +23,9 @@ serviceAccount: goldpinger: port: 8080 + udp: + enabled: false + port: 6969 zapConfig: | { "level": "info", @@ -71,6 +74,17 @@ ingress: # hosts: # - chart-example.local +httpRoute: + enabled: false + hostnames: [] + # - chart-example.local + parentRefs: [] + # - group: gateway.networking.k8s.io + # kind: Gateway + # name: default-gateway + # namespace: "gateway-namespace" + annotations: {} + ## Set a priorityClassName for the pod. If left blank a default priority will be set. priorityClassName: