Skip to content

Commit

Permalink
link to Istio API def
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenctl committed Jan 16, 2025
1 parent 30dbdb5 commit 712487c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/gloo/pkg/plugins/istio_automtls/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func AddIstioAutomtlsMetadata(
) *envoy_config_core_v3.Metadata {
if enableAutoMtls {
// Valid label values are 'istio', 'disabled'
// https://github.com/istio/api/blob/5b3f065ee1c2802fb4bc6010ac847c181caa6cc3/label/labels.gen.go#L285
if value, ok := workloadLabels[constants.IstioTlsModeLabel]; ok && value == constants.IstioMutualTLSModeLabel {
metadata.GetFilterMetadata()[EnvoyTransportSocketMatch] = &structpb.Struct{
Fields: map[string]*structpb.Value{
Expand Down

0 comments on commit 712487c

Please sign in to comment.