mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
fix(common): Release v3.3.1
This commit is contained in:
parent
60b34d0323
commit
073d3a8405
5 changed files with 27 additions and 5 deletions
|
@ -106,3 +106,20 @@ tests:
|
||||||
equal:
|
equal:
|
||||||
path: spec.allocateLoadBalancerNodePorts
|
path: spec.allocateLoadBalancerNodePorts
|
||||||
value: false
|
value: false
|
||||||
|
|
||||||
|
- it: externalName should pass for ExternalName service
|
||||||
|
values:
|
||||||
|
- ../_values/service_main_default.yaml
|
||||||
|
set:
|
||||||
|
service:
|
||||||
|
main:
|
||||||
|
type: ExternalName
|
||||||
|
externalName: my.database.example.com
|
||||||
|
asserts:
|
||||||
|
- documentIndex: &ServiceDocument 1
|
||||||
|
isKind:
|
||||||
|
of: Service
|
||||||
|
- documentIndex: *ServiceDocument
|
||||||
|
equal:
|
||||||
|
path: spec.externalName
|
||||||
|
value: my.database.example.com
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v2
|
||||||
name: common
|
name: common
|
||||||
description: Function library for Helm charts
|
description: Function library for Helm charts
|
||||||
type: library
|
type: library
|
||||||
version: 3.3.0
|
version: 3.3.1
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- common
|
- common
|
||||||
|
@ -25,7 +25,7 @@ annotations:
|
||||||
Added `persistentVolumeClaimRetentionPolicy` field to statefulset spec.
|
Added `persistentVolumeClaimRetentionPolicy` field to statefulset spec.
|
||||||
- kind: fixed
|
- kind: fixed
|
||||||
description: |-
|
description: |-
|
||||||
Added `externalName` field to service schema.
|
Added `externalName` field to service schema. (fixed in v3.3.1)
|
||||||
- kind: fixed
|
- kind: fixed
|
||||||
description: |-
|
description: |-
|
||||||
Always allow specifying `nodePort` field on service ports.
|
Always allow specifying `nodePort` field on service ports.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# common
|
# common
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Function library for Helm charts
|
Function library for Helm charts
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Include this chart as a dependency in your `Chart.yaml` e.g.
|
||||||
# Chart.yaml
|
# Chart.yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 3.3.0
|
version: 3.3.1
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,11 @@ spec:
|
||||||
loadBalancerSourceRanges:
|
loadBalancerSourceRanges:
|
||||||
{{ toYaml $serviceObject.loadBalancerSourceRanges | nindent 4 }}
|
{{ toYaml $serviceObject.loadBalancerSourceRanges | nindent 4 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- else if eq $svcType "ExternalName" }}
|
||||||
|
type: {{ $svcType }}
|
||||||
|
{{- if $serviceObject.externalName }}
|
||||||
|
externalName: {{ $serviceObject.externalName }}
|
||||||
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
type: {{ $svcType }}
|
type: {{ $svcType }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"$id": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.3.0/charts/library/common/values.schema.json",
|
"$id": "https://raw.githubusercontent.com/bjw-s/helm-charts/common-3.3.1/charts/library/common/values.schema.json",
|
||||||
|
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue