Duplication of custom log/error message in policy validation output. #37
-
Hi All, Why do we get duplicate of our log message twice with "Error from server" & "error when creating...." Is this expected behavior?? How to avoid duplicate? Thanks in advance. Sample Output log: Error from server ([limit-podcount-per-node-policy] Limit exceeded for the given replica count: [7] ! Maximum allowed limit to scale is: [6]): error when creating "frontend-deploy.yaml": admission webhook "validation.gatekeeper.sh" denied the request: [limit-podcount-per-node-policy] Limit exceeded for the given replica count: [7] ! Maximum allowed limit to scale is: [6]; Our log "([limit-podcount-per-node-policy] Limit exceeded for the given replica count: [7] ! Maximum allowed limit to scale is: [6]):" comes twice in the output. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
open-policy-agent/gatekeeper#278 looks like it was an issue in kubectl, and fixed in a more recent version. |
Beta Was this translation helpful? Give feedback.
open-policy-agent/gatekeeper#278 looks like it was an issue in kubectl, and fixed in a more recent version.