fix(common): Release 3.6.1 (#369)

This commit is contained in:
Bernd Schorgers 2025-01-12 11:28:41 +01:00 committed by GitHub
parent ec94fd49f7
commit 5fdc9e940e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 116 additions and 47 deletions

View file

@ -50,7 +50,7 @@ spec:
{{- end }}
{{- end }}
{{- if $ingressObject.defaultBackend }}
defaultBackend: {{ $ingressObject.defaultBackend }}
defaultBackend: {{ $ingressObject.defaultBackend | toYaml | nindent 4 }}
{{- else }}
rules:
{{- range $ingressObject.hosts }}

View file

@ -28,7 +28,9 @@ hostIPC: {{ include "bjw-s.common.lib.pod.getOption" (dict "ctx" $ctx "option" "
hostNetwork: {{ include "bjw-s.common.lib.pod.getOption" (dict "ctx" $ctx "option" "hostNetwork" "default" false) }}
hostPID: {{ include "bjw-s.common.lib.pod.getOption" (dict "ctx" $ctx "option" "hostPID" "default" false) }}
{{- if ge ($rootContext.Capabilities.KubeVersion.Minor | int) 29 }}
hostUsers: {{ include "bjw-s.common.lib.pod.getOption" (dict "ctx" $ctx "option" "hostUsers" "default" true) }}
{{- with (include "bjw-s.common.lib.pod.getOption" (dict "ctx" $ctx "option" "hostUsers")) }}
hostUsers: {{ . | trim }}
{{- end -}}
{{- end }}
dnsPolicy: {{ include "bjw-s.common.lib.pod.field.dnsPolicy" (dict "ctx" $ctx) | trim }}
{{- with (include "bjw-s.common.lib.pod.getOption" (dict "ctx" $ctx "option" "dnsConfig")) }}