diff options
| author | Patrick Spek <p.spek@tyil.nl> | 2024-11-28 09:12:48 +0100 |
|---|---|---|
| committer | Patrick Spek <p.spek@tyil.nl> | 2024-11-28 09:12:48 +0100 |
| commit | 8889ea6992fd9c5fa0cbc108ee824141be39628f (patch) | |
| tree | 16903e359bfcf4643f07daa7db4fa31b610a3307 | |
| parent | f10658156f2dc74be0250d942d2a8af322d38234 (diff) | |
| download | exporter-fsdir-master.tar.gz exporter-fsdir-master.tar.bz2 | |
| -rw-r--r-- | CHANGELOG.md | 18 | ||||
| -rw-r--r-- | Chart.yaml | 4 | ||||
| -rw-r--r-- | templates/deployment.yaml | 4 | ||||
| -rw-r--r-- | values.yaml | 3 |
4 files changed, 26 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f76e5cf --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,18 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.1.0] - 2024-11-28 + +### Added + +- To comply with the newly introduces `-label` argument to the exporter, a new + dictionary has been added as `args.labels`. Labels set through this will be + passed to the exporter, and thus added to the exported metrics. + +## [1.0.0] - 2024-11-27 + +Initial release @@ -15,10 +15,10 @@ 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: 1.0.1 +version: 1.1.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 # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.0.1" +appVersion: "v1.1.0" diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 54e136e..aba658a 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -44,6 +44,10 @@ spec: - "{{ .Values.service.port }}" - "-path" - "{{ .Values.args.path }}" + {{- range $key, $value := .Values.args.labels }} + - "-label" + - "{{ $key }}={{ $value }}" + {{- end }} {{- with .Values.args.namespace }} - "-namespace" - "{{ . }}" diff --git a/values.yaml b/values.yaml index a939647..dacef5d 100644 --- a/values.yaml +++ b/values.yaml @@ -11,7 +11,7 @@ image: # This sets the pull policy for images. pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "v1.0.1" + tag: "" # This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ imagePullSecrets: [] @@ -139,3 +139,4 @@ args: namespace: null path: "/mnt" subsystem: null + labels: {} |
