Skip to content
Snippets Groups Projects
Commit d811c0ef authored by Alain Atemnkeng's avatar Alain Atemnkeng :first_place:
Browse files

Update file policy.rego

parent 5480721e
1 merge request!72[PLATFORM-2185] Configure Image Provenance admission control with Gatekeeper
Pipeline #852532 passed with stages
in 19 seconds
This commit is part of merge request !72. Comments created here will be created in the context of that merge request.
......@@ -20,7 +20,7 @@ allowed_repos := {
"registry.k8s.io"
}
# Function to extract hostname from image
# Function to extract hostname from image (GPT4.0 assisted)
get_hostname(image) = hostname {
trace(sprintf("Checking hostname for image: %v", [image]))
contains(image, "/")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment