Skip to content

Commit f71d296

Browse files
author
Kate Osborn
committed
Add fixme
1 parent f045cc7 commit f71d296

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

internal/mode/static/state/graph/backend_tls_policy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ func validateAncestorMaxCount(backendTLSPolicy *v1alpha3.BackendTLSPolicy, ctlrN
119119
ancestorRef := createParentReference(v1.GroupName, kinds.Gateway, client.ObjectKeyFromObject(gateway.Source))
120120

121121
if ancestorsFull(backendTLSPolicy.Status.Ancestors, ancestorRef, ctlrName) {
122+
// FIXME (kate-osborn): https://github.com/nginxinc/nginx-gateway-fabric/issues/1987
122123
return errors.New("too many ancestors, cannot attach a new Gateway")
123124
}
124125

internal/mode/static/state/graph/policies.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func attachPolicyToRoute(policy *Policy, route *L7Route, ctlrName string) {
102102

103103
curAncestorStatus := policy.Source.GetPolicyStatus().Ancestors
104104
if ancestorsFull(curAncestorStatus, ancestor.Ancestor, ctlrName) {
105+
// FIXME (kate-osborn): https://github.com/nginxinc/nginx-gateway-fabric/issues/1987
105106
return
106107
}
107108

@@ -136,6 +137,7 @@ func attachPolicyToGateway(
136137

137138
curAncestorStatus := policy.Source.GetPolicyStatus().Ancestors
138139
if ancestorsFull(curAncestorStatus, ancestor.Ancestor, ctlrName) {
140+
// FIXME (kate-osborn): https://github.com/nginxinc/nginx-gateway-fabric/issues/1987
139141
return
140142
}
141143

0 commit comments

Comments
 (0)