fix(gatewayAPI): adapt backendTLSPolicy

This commit is contained in:
2026-05-29 23:51:18 +02:00
parent 6ed2f64dc0
commit d461f5e0bc
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 }}