mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
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:
parent
ed1fc273b2
commit
9efa8f0adb
10 changed files with 119 additions and 48 deletions
|
@ -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.
|
||||
|
|
1
charts/library/common/LICENSE
Symbolic link
1
charts/library/common/LICENSE
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../LICENSE
|
|
@ -1,6 +1,6 @@
|
|||
# common
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
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/
|
||||
```
|
||||
|
||||
|
|
|
@ -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 -}}
|
||||
|
|
|
@ -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 -}}
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue