Skip to content

Commit

Permalink
Update internal/gatewayapi/backendtlspolicy.go
Browse files Browse the repository at this point in the history
Co-authored-by: Huabing Zhao <zhaohuabing@gmail.com>
Signed-off-by: Alex Volchok <alex.volchok@sap.com>
  • Loading branch information
alexwo and zhaohuabing authored Oct 15, 2024
1 parent 4ffd989 commit 85c8198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gatewayapi/backendtlspolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (t *Translator) applyEnvoyProxyBackendTLSSetting(policy *gwapiv1a3.BackendT
}
var err error
if ns != ep.Namespace {
err = fmt.Errorf("ClientCertificteRef Secret is not located in the same namespace as Envoyproxy. Secret namespace: %s does not match Envoyproxy namespace: %s", ns, ep.Namespace)
err = fmt.Errorf("ClientCertificateRef Secret is not located in the same namespace as Envoyproxy. Secret namespace: %s does not match Envoyproxy namespace: %s", ns, ep.Namespace)
status.SetTranslationErrorForPolicyAncestors(&policy.Status,
ancestorRefs,
t.GatewayControllerName,
Expand Down

0 comments on commit 85c8198

Please sign in to comment.