feat(common)!: Release v3.0.0-beta1 (#278)

This commit is contained in:
Bernd Schorgers 2024-03-07 19:53:41 +01:00 committed by GitHub
parent deafcf75a1
commit b78483b0b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 3697 additions and 1209 deletions

View file

@ -6,7 +6,7 @@ within the common library.
{{- $rootContext := .rootContext -}}
{{- $serviceObject := .object -}}
{{- $svcType := $serviceObject.type | default "" -}}
{{- $svcType := default "ClusterIP" $serviceObject.type -}}
{{- $enabledPorts := include "bjw-s.common.lib.service.enabledPorts" (dict "rootContext" $rootContext "serviceObject" $serviceObject) | fromYaml }}
{{- $labels := merge
(dict "app.kubernetes.io/service" $serviceObject.name)
@ -29,7 +29,7 @@ metadata:
annotations: {{- toYaml . | nindent 4 -}}
{{- end }}
spec:
{{- if (or (eq $svcType "ClusterIP") (empty $svcType)) }}
{{- if (eq $svcType "ClusterIP") }}
type: ClusterIP
{{- if $serviceObject.clusterIP }}
clusterIP: {{ $serviceObject.clusterIP }}