Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
k8s/reconciler: deref for l.listener.TLS.CertificateRefs no longer ne…
Browse files Browse the repository at this point in the history
…eded
  • Loading branch information
mikemorris committed Jun 7, 2022
1 parent 571b5ac commit 49269bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/k8s/reconciler/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (l *K8sListener) validateTLS(ctx context.Context) error {
}

// we only support a single certificate for now
ref := *l.listener.TLS.CertificateRefs[0]
ref := l.listener.TLS.CertificateRefs[0]

// require ReferencePolicy for cross-namespace certificateRef
allowed, err := gatewayAllowedForSecretRef(ctx, l.gateway, ref, l.client)
Expand Down

0 comments on commit 49269bf

Please sign in to comment.