Skip to content

Commit

Permalink
Fix: stable the version kind for the built-in rule (#67)
Browse files Browse the repository at this point in the history
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
  • Loading branch information
FogDong committed Mar 16, 2023
1 parent 28e0897 commit e2b41b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/resourcetopology/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ func (r *engine) handleBuiltInRulesForIngress(ctx context.Context, v cue.Value,
Kind: "Service",
}) {
ingress = append(ingress, k8s.ResourceIdentifier{
APIVersion: item.APIVersion,
Kind: item.Kind,
APIVersion: "networking.k8s.io/v1",
Kind: "Ingress",
Name: item.Name,
Namespace: item.Namespace,
})
Expand Down

0 comments on commit e2b41b3

Please sign in to comment.