fix(gatewayAPI): adapt backendTLSPolicy
Helm / helm-lint (push) Successful in 7s
Helm / helm-unittest (push) Failing after 24s
Generate README / generate-parameters (push) Successful in 43s

This commit is contained in:
2026-05-29 23:51:18 +02:00
parent b282f0eb8f
commit 566d4456e3
4 changed files with 26 additions and 25 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
{{- if eq (include "reposilite.backendTLSConfig.enabled" $) "true" }}
{{- if eq (include "reposilite.backendTLSPolicy.enabled" $) "true" }}
---
apiVersion: gateway.networking.k8s.io/v1
kind: BackendTLSPolicy
metadata:
{{- with (include "reposilite.backendTLSConfig.annotations" . | fromYaml) }}
{{- with (include "reposilite.backendTLSPolicy.annotations" . | fromYaml) }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with (include "reposilite.backendTLSConfig.labels" . | fromYaml) }}
{{- with (include "reposilite.backendTLSPolicy.labels" . | fromYaml) }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
@@ -18,7 +18,7 @@ spec:
- group: ""
kind: Service
name: {{ include "reposilite.service.name" . }}
{{- with .Values.gatewayAPI.core.backendTLSConfig.validation }}
{{- with .Values.gatewayAPI.core.backendTLSPolicy.validation }}
validation:
{{- toYaml . | nindent 4 }}
{{- end }}