Skip to content

Commit b14dbd3

Browse files
committed
add fp hostname, not rootshard
1 parent 92adef4 commit b14dbd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resources/frontproxy/certificates.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (r *reconciler) serverCertificateReconciler() reconciling.NamedCertificateR
9292
if r.frontProxy.Spec.ExternalHostname != "" {
9393
dnsNames = append(dnsNames, r.frontProxy.Spec.ExternalHostname)
9494
} else {
95-
dnsNames = append(dnsNames, r.rootShard.Spec.External.Hostname)
95+
dnsNames = append(dnsNames, r.frontProxy.Spec.External.Hostname)
9696
}
9797
}
9898

0 commit comments

Comments
 (0)