diff --git a/charts/fronius-exporter/Chart.yaml b/charts/fronius-exporter/Chart.yaml index eef6a77..b3ddebc 100644 --- a/charts/fronius-exporter/Chart.yaml +++ b/charts/fronius-exporter/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/fronius-exporter/README.md b/charts/fronius-exporter/README.md index d747a3a..0a9956a 100644 --- a/charts/fronius-exporter/README.md +++ b/charts/fronius-exporter/README.md @@ -1,6 +1,6 @@ # fronius-exporter -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Prometheus Exporter for Fronius Symo Photovoltaics @@ -23,6 +23,7 @@ helm install fronius-exporter ccremer/fronius-exporter |-----|------|---------|-------------| | affinity | object | `{}` | | | exporter.additionalArgs | list | `[]` | Provide additional CLI flags via string array | +| exporter.siteName | string | `""` | Site name of Fronius SYMO that gets added as a static label to all metrics. **Recommended** | | exporter.symoUrl | string | `"http://symo.ip.or.hostname/solar_api/v1/GetPowerFlowRealtimeData.fcgi"` | Target URL of Fronius SYMO device. **Required** | | exporter.timeoutSeconds | int | `5` | Time after which collecting may time out. Should not be higher than the Prometheus scrape interval. | | fullnameOverride | string | `""` | | @@ -30,7 +31,7 @@ helm install fronius-exporter ccremer/fronius-exporter | image.pullPolicy | string | `"IfNotPresent"` | | | image.registry | string | `"quay.io"` | Container image registry | | image.repository | string | `"ccremer/fronius-exporter"` | Location of the container image | -| image.tag | string | `"v0.4.0"` | Container image tag | +| image.tag | string | `"v0.5.0"` | Container image tag | | imagePullSecrets | list | `[]` | List of image pull secrets if you use a privately hosted image | | ingress.annotations | object | `{}` | Additional annotations for the Ingress object | | ingress.enabled | bool | `false` | Useful if your Prometheus is outside of the cluster | diff --git a/charts/fronius-exporter/templates/deployment.yaml b/charts/fronius-exporter/templates/deployment.yaml index f5f763e..cd07f51 100644 --- a/charts/fronius-exporter/templates/deployment.yaml +++ b/charts/fronius-exporter/templates/deployment.yaml @@ -33,6 +33,7 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} args: - --symo.url={{ .Values.exporter.symoUrl }} + - --symo.site={{ .Values.exporter.siteName | quote }} - --symo.timeout={{ .Values.exporter.timeoutSeconds }} {{- range .Values.exporter.additionalArgs }} - {{ . }} diff --git a/charts/fronius-exporter/values.yaml b/charts/fronius-exporter/values.yaml index 7fe8eab..3ebb264 100644 --- a/charts/fronius-exporter/values.yaml +++ b/charts/fronius-exporter/values.yaml @@ -11,7 +11,7 @@ image: # -- Location of the container image repository: ccremer/fronius-exporter # -- Container image tag - tag: "v0.4.0" + tag: "v0.5.0" pullPolicy: IfNotPresent # -- List of image pull secrets if you use a privately hosted image @@ -22,6 +22,8 @@ fullnameOverride: "" exporter: # -- Target URL of Fronius SYMO device. **Required** symoUrl: "http://symo.ip.or.hostname/solar_api/v1/GetPowerFlowRealtimeData.fcgi" + # -- Site name of Fronius SYMO that gets added as a static label to all metrics. **Recommended** + siteName: "" # -- Provide additional CLI flags via string array additionalArgs: [] # -- Time after which collecting may time out. Should not be higher than