You've already forked reposilite-charts
fix(gatewayAPI): adapt backendTLSPolicy
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user