Skip to content
Snippets Groups Projects

[PLATFORM-2185] Configure Image Provenance admission control with Gatekeeper

Merged [PLATFORM-2185] Configure Image Provenance admission control with Gatekeeper
Merged Alain Atemnkeng requested to merge PLATFORM-2207-aatemnke2 into master
Viewing commit d811c0ef
Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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, "/")