updates image-mutation conditions

This commit is contained in:
2023-03-24 21:17:17 -05:00
parent bf944cb048
commit 96e606af5b
6 changed files with 331 additions and 14 deletions

View File

@ -199,7 +199,7 @@ func (h *admissionHandler) ahServe(hook operations.Hook) http.HandlerFunc {
return
}
log.Printf("[INFO] Webhook [%s] - Allowed: %t", review.Request.Operation, result.Allowed)
log.Printf("[DEBUG] Webhook [%s] - Allowed: %t", review.Request.Operation, result.Allowed)
w.WriteHeader(http.StatusOK)
w.Write(res)
}