Skip to content

Commit

Permalink
docs: update function name
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Sestito <[email protected]>
  • Loading branch information
fabriziosestito committed Sep 17, 2024
1 parent 22d482c commit 4710db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ For each namespace, the code invokes the `ScanNamespace` method.

> **Important:** this part of the code is parallelized. The number of parallel policies to be evaluated is configured with the `--parallel-namespaces` flag.
The code uses the `GetPoliciesForANamespace` method
The code uses the `GetPoliciesByNamespace` method
to build a map with the Kubernetes resource as key, and the policies targeting that resource as value.
This map is similar to the one created for the cluster-wide resources. However, in this case, the types of policies associated with a Kubernetes
resource could be both `ClusterAdmissionPolicy` and `NamespaceAdmissionPolicy`.
Expand Down

0 comments on commit 4710db8

Please sign in to comment.