feat(common): Release v3.7.2 (#388)

Signed-off-by: solidDoWant <fred.heinecke@yahoo.com>
Co-authored-by: solidDoWant <fred.heinecke@yahoo.com>
This commit is contained in:
Bernd Schorgers 2025-03-04 16:55:24 +01:00 committed by GitHub
parent ed1fc273b2
commit 9efa8f0adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 119 additions and 48 deletions

View file

@ -3,7 +3,7 @@ apiVersion: v2
name: common
description: Function library for Helm charts
type: library
version: 3.7.1
version: 3.7.2
kubeVersion: ">=1.22.0-0"
keywords:
- common
@ -17,8 +17,7 @@ annotations:
artifacthub.io/changes: |-
- kind: fixed
description: |-
Values schema is now dereferenced before packaging so it no longer relies on
internet connectivity to validate the schema.
The Apache 2.0 LICENSE file has been added to the chart.
- kind: fixed
description: |-
Add explicit namespace declaration to templates using Release.Namespace
Fixed non-deterministic selection of primary service and port.

View file

@ -0,0 +1 @@
../../../LICENSE

View file

@ -1,6 +1,6 @@
# common
![Version: 3.7.1](https://img.shields.io/badge/Version-3.7.1-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)
![Version: 3.7.2](https://img.shields.io/badge/Version-3.7.2-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square)
Function library for Helm charts
@ -27,7 +27,7 @@ Include this chart as a dependency in your `Chart.yaml` e.g.
# Chart.yaml
dependencies:
- name: common
version: 3.7.1
version: 3.7.2
repository: https://bjw-s.github.io/helm-charts/
```

View file

@ -26,9 +26,9 @@ Return the primary service object for a controller
{{- $result = $service -}}
{{- end -}}
{{- /* Return the first Service if none has been explicitly marked as primary */ -}}
{{- /* Return the first Service (alphabetically) if none has been explicitly marked as primary */ -}}
{{- if not $result -}}
{{- $firstServiceKey := keys $enabledServicesForController | first -}}
{{- $firstServiceKey := keys $enabledServicesForController | sortAlpha | first -}}
{{- $result = get $enabledServicesForController $firstServiceKey -}}
{{- $identifier = $result.identifier -}}
{{- end -}}

View file

@ -15,9 +15,9 @@ Return the primary port for a given Service object.
{{- end -}}
{{- end -}}
{{- /* Return the first port if none has been explicitly marked as primary */ -}}
{{- /* Return the first port (alphabetically) if none has been explicitly marked as primary */ -}}
{{- if not $result -}}
{{- $firstPortKey := keys $enabledPorts | first -}}
{{- $firstPortKey := keys $enabledPorts | sortAlpha | first -}}
{{- if $firstPortKey -}}
{{- $result = get $enabledPorts $firstPortKey -}}
{{- end -}}

View file

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.7.1/charts/library/common/values.schema.json",
"$id": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.7.2/charts/library/common/values.schema.json",
"type": "object",
"properties": {
"global": {