2 Commits

Author SHA1 Message Date
96be13a23c Fix: Use dependencies scope for truecharts prometheus-operator (#9)
Fixes an issue where truecharts prometheus operator version and
repository values where not accessible because they were not under the
`dependencies` scope.
2025-06-20 13:35:13 +05:30
8d51afc24e Feat: Add optional TrueCharts Prometheus Operator dependency (#8)
This commit introduces a configurable dependency for the Prometheus Operator,
allowing you to choose between the standard kube-prometheus-stack and
the TrueCharts version of prometheus-operator.

Changes include:

1.  **values.yaml:**
    *   Added a `dependencies` section with the following new values:
        *   `useTrueChartsPrometheusOperator` (boolean, default: false):
            Controls which operator dependency is enabled.
        *   `trueChartsPrometheusOperatorRepository` (string, default:
            "oci://tccr.io/truecharts"): Repository for the TrueCharts operator.
        *   `trueChartsPrometheusOperatorVersion` (string, default: "8.11.1"):
            Chart version for the TrueCharts operator.

2.  **Chart.yaml:**
    *   The `kube-prometheus-stack` dependency condition is updated to
        `"serviceMonitor.enabled, !values.dependencies.useTrueChartsPrometheusOperator"`.
    *   A new dependency for `prometheus-operator` (TrueCharts) is added:
        *   `name: prometheus-operator`
        *   `version: "{{ .Values.dependencies.trueChartsPrometheusOperatorVersion }}"`
        *   `repository: "{{ .Values.dependencies.trueChartsPrometheusOperatorRepository }}"`
        *   `condition: "serviceMonitor.enabled, values.dependencies.useTrueChartsPrometheusOperator"`

This provides you with more flexibility in choosing your Prometheus
Operator stack while using the iperf3-monitor chart.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-06-20 13:25:30 +05:30
14 changed files with 22 additions and 445 deletions

View File

@@ -27,4 +27,8 @@ dependencies:
- name: kube-prometheus-stack # Example dependency if you package the whole stack - name: kube-prometheus-stack # Example dependency if you package the whole stack
version: ">=30.0.0" # Specify a compatible version range version: ">=30.0.0" # Specify a compatible version range
repository: https://prometheus-community.github.io/helm-charts repository: https://prometheus-community.github.io/helm-charts
condition: serviceMonitor.enabled # Only include if ServiceMonitor is enabled (assuming Prometheus Operator) condition: "serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator"
- name: prometheus-operator
version: ">={{ dependencies.trueChartsPrometheusOperatorVersion }}"
repository: "{{ dependencies.trueChartsPrometheusOperatorRepository }}"
condition: "serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator"

View File

@@ -118,3 +118,20 @@ networkPolicy:
namespaceSelector: {} namespaceSelector: {}
# -- Specify pod selectors if needed. # -- Specify pod selectors if needed.
podSelector: {} podSelector: {}
# -----------------------------------------------------------------------------
# Dependency Configuration
# -----------------------------------------------------------------------------
dependencies:
# -- Set to true to use the TrueCharts Prometheus Operator instead of kube-prometheus-stack.
# This chart's ServiceMonitor resources require a Prometheus Operator to be functional.
# If serviceMonitor.enabled is true, one of these two dependencies will be pulled based on this flag.
useTrueChartsPrometheusOperator: false
# -- Repository for the TrueCharts Prometheus Operator.
# Only used if dependencies.useTrueChartsPrometheusOperator is true.
trueChartsPrometheusOperatorRepository: "oci://tccr.io/truecharts"
# -- Chart version for the TrueCharts Prometheus Operator.
# Only used if dependencies.useTrueChartsPrometheusOperator is true.
trueChartsPrometheusOperatorVersion: "8.11.1"

View File

@@ -1,444 +0,0 @@
apiVersion: v1
entries:
iperf3-monitor:
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.2.5
created: "2025-07-02T11:03:53.021696134Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.1.2
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: da889e8441c7aa057db40f1b33cfa73ce4102b0a6a8c5f502680b4cada101a76
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.2.5.tgz
version: 0.2.5
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.2.4
created: "2025-07-02T08:39:13.621609745Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.1.2
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: 3929933b0e4b46d4a3e4274e495b27a467baa1cc59e0457f488b1fef834e815d
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.2.4.tgz
version: 0.2.4
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.2.3
created: "2025-07-02T08:02:44.490472865Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.1.2
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: dbd898b7c57c41e19e1abe46285ed0f8353b11bf7ab3d618c09101e5f50624a2
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.2.3.tgz
version: 0.2.3
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.2.2
created: "2025-07-02T07:30:10.740811061Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.1.2
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: 9404cc9b70c01370727cd6aabbe634698d6c2b86188853c5e7ea020547e839c3
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.2.2.tgz
version: 0.2.2
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.2.1
created: "2025-07-02T06:29:50.048523169Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
- name: common
repository: https://bjw-s-labs.github.io/helm-charts/
version: 4.1.2
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: 78018c1dcdafe6768f874a524005e535e1744a9a76f026d8027f2ac69bf49c4c
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.2.1.tgz
version: 0.2.1
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.1.9
created: "2025-07-01T20:10:45.681665311Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: ba71668f2e79f143971758eddf2c1ccb81e8fa8dd681748f4a34718af83c523c
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.1.9.tgz
version: 0.1.9
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.1.8
created: "2025-06-20T20:43:41.906216787Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: dd1707ef16c06a1a3c4979983a0141c0f19bbd51b7b95a3bda22033780a517ba
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.1.8.tgz
version: 0.1.8
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.1.6
created: "2025-06-20T19:36:24.8256252Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: e23e2801a298edf8c345fcce210f7186a2304cf8321f315a244e44f0ef83e4bd
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.1.6.tgz
version: 0.1.6
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.1.5
created: "2025-06-20T13:41:15.223267266Z"
dependencies:
- condition: dependencies.install, serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: dependencies.install, serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: 565b4615cbfa166cb5b158d43bc0f79fb2482c6213e8d9c67b32cd2e2dac6103
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.1.5.tgz
version: 0.1.5
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.1.4
created: "2025-06-20T12:13:54.388432454Z"
dependencies:
- condition: serviceMonitor.enabled, !dependencies.useTrueChartsPrometheusOperator
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
- condition: serviceMonitor.enabled, dependencies.useTrueChartsPrometheusOperator
name: prometheus-operator
repository: oci://tccr.io/truecharts
version: '>=8.11.1'
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: 6c0dbe54f696cdc2d98ecb54cff5c5b3c9eaea913e3caa798ad81c587ef5d199
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.1.4.tgz
version: 0.1.4
- annotations:
artifacthub.io/category: networking
artifacthub.io/changes: |
- Add initial Helm chart structure.
apiVersion: v2
appVersion: 0.1.1
created: "2025-06-19T21:43:47.560731092Z"
dependencies:
- condition: serviceMonitor.enabled
name: kube-prometheus-stack
repository: https://prometheus-community.github.io/helm-charts
version: '>=30.0.0'
description: A Helm chart for deploying a Kubernetes-native iperf3 network performance
monitoring service with Prometheus and Grafana.
digest: e334d11e50f6303486830cc1384bfe21eecfe803f665868eaeb294d5ef168559
home: https://github.com/malarinv/iperf3-monitor
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png
keywords:
- iperf3
- network
- performance
- monitoring
- kubernetes
- prometheus
- grafana
maintainers:
- email: malarkannan.invention@gmail.com
name: Malar Invention
name: iperf3-monitor
sources:
- https://github.com/malarinv/iperf3-monitor
type: application
urls:
- https://malarinv.github.io/iperf3-monitor/iperf3-monitor-0.1.1.tgz
version: 0.1.1
generated: "2025-07-02T11:03:52.94918383Z"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.