mirror of
https://github.com/malarinv/iperf3-monitor.git
synced 2026-03-08 05:22:35 +00:00
Compare commits
5 Commits
v0.0.2
...
fix/readme
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1063f1574 | ||
|
|
4298031a2d | ||
|
|
a9f2a49549 | ||
| 7f0784d382 | |||
| 050fbcbf3c |
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -82,8 +82,8 @@ jobs:
|
||||
- name: Set Chart Version from Tag
|
||||
run: |
|
||||
VERSION=$(echo "${{ github.ref_name }}" | sed 's/^v//')
|
||||
yq e -i '.version = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml
|
||||
yq e -i '.appVersion = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml
|
||||
VERSION=$VERSION yq e -i '.version = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml
|
||||
VERSION=$VERSION yq e -i '.appVersion = strenv(VERSION)' ./charts/iperf3-monitor/Chart.yaml
|
||||
cat ./charts/iperf3-monitor/Chart.yaml # Optional: print updated Chart.yaml
|
||||
|
||||
- name: Publish Helm chart
|
||||
|
||||
10
README.md
10
README.md
@@ -37,7 +37,7 @@ This separation of concerns ensures scalability, resilience, and aligns with Kub
|
||||
1. Add the Helm chart repository (replace with your actual repo URL once published):
|
||||
|
||||
```/dev/null/helm-install.sh#L1-1
|
||||
helm repo add iperf3-monitor https://your-github-org.github.io/iperf3-monitor/
|
||||
helm repo add iperf3-monitor https://malarinv.github.io/iperf3-monitor/
|
||||
```
|
||||
|
||||
2. Update your Helm repositories:
|
||||
@@ -78,7 +78,7 @@ exporter:
|
||||
# -- Configuration for the exporter container image.
|
||||
image:
|
||||
# -- The container image repository for the exporter.
|
||||
repository: ghcr.io/my-org/iperf3-prometheus-exporter # Replace with your repo URL
|
||||
repository: ghcr.io/malarinv/iperf3-monitor
|
||||
# -- The container image tag for the exporter. If not set, the chart's appVersion is used.
|
||||
tag: ""
|
||||
# -- The image pull policy for the exporter container.
|
||||
@@ -430,8 +430,4 @@ The project includes a GitHub Actions workflow (`.github/workflows/release.yml`)
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the terms defined in the `LICENSE` file.
|
||||
|
||||
```iperf3-monitor/LICENSE
|
||||
This project is currently unlicensed. Please see the project's documentation or repository for licensing information when it becomes available.
|
||||
```
|
||||
This project is licensed under the GNU Affero General Public License v3. See the `LICENSE` file for details.
|
||||
|
||||
@@ -12,12 +12,12 @@ keywords:
|
||||
- kubernetes
|
||||
- prometheus
|
||||
- grafana
|
||||
home: https://github.com/malarinv/iperf3-monitor # Replace with your repo URL
|
||||
home: https://github.com/malarinv/iperf3-monitor
|
||||
sources:
|
||||
- https://github.com/malarinv/iperf3-monitor # Replace with your repo URL
|
||||
- https://github.com/malarinv/iperf3-monitor
|
||||
maintainers:
|
||||
- name: Malar Invention # Replace with your name
|
||||
email: malarkannan.invention@gmail.com # Replace with your email
|
||||
- name: Malar Invention
|
||||
email: malarkannan.invention@gmail.com
|
||||
icon: https://raw.githubusercontent.com/malarinv/iperf3-monitor/main/icon.png # Optional icon URL
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
@@ -27,4 +27,8 @@ dependencies:
|
||||
- name: kube-prometheus-stack # Example dependency if you package the whole stack
|
||||
version: ">=30.0.0" # Specify a compatible version range
|
||||
repository: https://prometheus-community.github.io/helm-charts
|
||||
condition: serviceMonitor.enabled # Only include if ServiceMonitor is enabled (assuming Prometheus Operator)
|
||||
condition: "serviceMonitor.enabled, !values.dependencies.useTrueChartsPrometheusOperator"
|
||||
- name: prometheus-operator
|
||||
version: "{{ .Values.dependencies.trueChartsPrometheusOperatorVersion }}"
|
||||
repository: "{{ .Values.dependencies.trueChartsPrometheusOperatorRepository }}"
|
||||
condition: "serviceMonitor.enabled, values.dependencies.useTrueChartsPrometheusOperator"
|
||||
|
||||
@@ -46,4 +46,3 @@ spec:
|
||||
resources:
|
||||
{{- toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
```
|
||||
@@ -41,5 +41,4 @@ spec:
|
||||
{{- with .Values.server.resources }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
```
|
||||
{{- end }}
|
||||
@@ -12,7 +12,7 @@ exporter:
|
||||
# -- Configuration for the exporter container image.
|
||||
image:
|
||||
# -- The container image repository for the exporter.
|
||||
repository: ghcr.io/malarinv/iperf3-prometheus-exporter # Replace with your repo URL
|
||||
repository: ghcr.io/malarinv/iperf3-monitor
|
||||
# -- The container image tag for the exporter. If not set, the chart's appVersion is used.
|
||||
tag: ""
|
||||
# -- The image pull policy for the exporter container.
|
||||
@@ -118,3 +118,20 @@ networkPolicy:
|
||||
namespaceSelector: {}
|
||||
# -- Specify pod selectors if needed.
|
||||
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"
|
||||
|
||||
14
devbox.json
Normal file
14
devbox.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
|
||||
"packages": [],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"echo 'Welcome to devbox!' > /dev/null"
|
||||
],
|
||||
"scripts": {
|
||||
"test": [
|
||||
"echo \"Error: no test specified\" && exit 1"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
4
devbox.lock
Normal file
4
devbox.lock
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"lockfile_version": "1",
|
||||
"packages": {}
|
||||
}
|
||||
Reference in New Issue
Block a user