Skip to content

Commit

Permalink
chore: reverting some local changes against main
Browse files Browse the repository at this point in the history
  • Loading branch information
sgettys committed Dec 20, 2024
1 parent 27e125a commit d61597b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/istio/chart/templates/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
tls:
mode: {{ $server.mode }}
{{- if ne $server.mode "PASSTHROUGH" }}
credentialName: gateway-tls
credentialName: {{ $.Values.tls.credentialName | default "gateway-tls" | quote }}
# if supportTLSV1_2 is both defined and true, use TLSV1_2, otherwise use TLSV1_3
minProtocolVersion: {{ if $.Values.tls.supportTLSV1_2 }}TLSV1_2{{ else }}TLSV1_3{{ end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion src/istio/chart/templates/tls-cert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial

{{- $tls := .Values.tls }}
{{ if $tls.cert }}
{{ if and $tls.cert (not $tls.credentialName) }}
apiVersion: v1
kind: Secret
metadata:
Expand Down
3 changes: 3 additions & 0 deletions src/istio/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ domain: "###ZARF_VAR_DOMAIN###"
# # The CA certificate for the gateway when using `MUTUAL' or 'OPTIONAL_MUTUAL' (base64 encoded)
# cacert: ""

# # The name of the secret containing the TLS certificate to use for this gateway, this will override cert, key and cacert
# credentialName: ""

# # Map of gateway server entries
# servers:
# # Name of the gateway port to use for TLS, this is effectively a "list" in map form
Expand Down
1 change: 1 addition & 0 deletions src/istio/common/chart/templates/envoy-filters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
end
end
---
# Source: istio/templates/envoyfilter.yaml
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
mtls:
mode: PERMISSIVE
mode: STRICT
selector:
matchLabels:
app.kubernetes.io/name: metrics-server
Expand Down

0 comments on commit d61597b

Please sign in to comment.