diff --git a/hm-worker-1.4.0.tgz b/hm-worker-1.4.0.tgz new file mode 100644 index 0000000..660edd9 Binary files /dev/null and b/hm-worker-1.4.0.tgz differ diff --git a/hm-worker/CHANGELOG.md b/hm-worker/CHANGELOG.md index 314b9b4..920c7fb 100644 --- a/hm-worker/CHANGELOG.md +++ b/hm-worker/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +## [1.4.0] - 2023-12-08 +### Changed + +* Shorten the name of resouces by removing `hm-worker` at the end of each resource +* only headless service name is left unchanged due to backward compatibility + + ## [1.3.1] - 2023-08-08 ### Changed diff --git a/hm-worker/Chart.yaml b/hm-worker/Chart.yaml index b8f6ad7..1fa6cd5 100644 --- a/hm-worker/Chart.yaml +++ b/hm-worker/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: 1.3.1 +version: 1.4.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/hm-worker/templates/_helpers.tpl b/hm-worker/templates/_helpers.tpl index 2cf1952..6b0af20 100644 --- a/hm-worker/templates/_helpers.tpl +++ b/hm-worker/templates/_helpers.tpl @@ -18,7 +18,7 @@ If release name contains chart name it will be used as a full name. {{- if contains $name .Release.Name }} {{- .Release.Name | trunc 63 | trimSuffix "-" }} {{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- printf "%s" .Release.Name | trunc 63 | trimSuffix "-" }} {{- end }} {{- end }} {{- end }} @@ -70,6 +70,10 @@ Create the name of the service account to use {{- printf "%s-%s" (include "hm-worker.fullname" .) "secret" -}} {{- end -}} +{{/* +Keep hm-worker for backward compatibility reason +to be removed in the next major release +*/}} {{- define "hm-worker.headlessServiceName" -}} -{{- printf "%s-%s" (include "hm-worker.fullname" .) "nodes" -}} +{{- printf "%s-hm-worker-%s" (include "hm-worker.fullname" .) "nodes" -}} {{- end -}} diff --git a/index.yaml b/index.yaml index b9d2e26..31a4506 100644 --- a/index.yaml +++ b/index.yaml @@ -192,6 +192,16 @@ entries: - https://highmobility.github.io/helm-charts/hm-basic-webapp-0.1.0.tgz version: 0.1.0 hm-worker: + - apiVersion: v2 + appVersion: 1.16.0 + created: "2023-12-11T10:34:09.0412+01:00" + description: A Helm chart for running worker jobs without any HTTP service + digest: e40c68c6f06ea636504cf324ea25f7eb1b41725e1be18bfdf8d5528fcb8b3ee6 + name: hm-worker + type: application + urls: + - https://highmobility.github.io/helm-charts/hm-worker-1.4.0.tgz + version: 1.4.0 - apiVersion: v2 appVersion: 1.16.0 created: "2023-08-08T15:16:14.547527+02:00" @@ -262,4 +272,4 @@ entries: urls: - https://highmobility.github.io/helm-charts/hm-worker-0.1.0.tgz version: 0.1.0 -generated: "2023-12-08T23:36:57.798126+01:00" +generated: "2023-12-11T10:34:09.040144+01:00"