-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in terms of npx pepr monitor
we need to check if there is a way to include a name when it is empty string
#892
Labels
Milestone
Comments
Currently not seeing this happening anymore. └─[130] <git:(main bbedaaa) > ./uds-cli monitor pepr
NOTE Saving log file to
/var/folders/v0/slmrzc4s6kx4n7jb77ch9fc80000gn/T/uds-2024-06-20-14-17-28-2706342275.log
✓ ALLOWED pepr-demo-2/kube-root-ca.crt
✎ MUTATED pepr-demo-2/pepr-demo-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo-2/kube-root-ca.crt
✓ ALLOWED pepr-demo-2/pepr-ssa-demo
✓ ALLOWED pepr-demo/example-evil-cm
✗ DENIED pepr-demo/example-evil-cm
No evil CM annotations allowed.
✎ MUTATED pepr-demo/secret-1
REPLACED:
/data/example="dW5pY29ybiBtYWdpYyAtIG1vZGlmaWVkIGJ5IFBlcHI="
ADDED:
/data/magic="Y2hhbmdlLXdpdGhvdXQtZW5jb2Rpbmc="
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo-2/pepr-ssa-demo
✎ MUTATED pepr-demo/example-1
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✓ ALLOWED pepr-demo/example-1
✎ MUTATED pepr-demo/example-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✓ ALLOWED pepr-demo/example-2 (repeated 1 time)
✓ ALLOWED pepr-demo/example-evil-cm
✗ DENIED pepr-demo/example-evil-cm
No evil CM annotations allowed.
✎ MUTATED pepr-demo/example-3
ADDED:
/data/username="system:admin"
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="making-waves"
✓ ALLOWED pepr-demo/example-3
✎ MUTATED pepr-demo/example-4
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/labels={"pepr.dev/first":"true","pepr.dev/second":"true","pepr.dev/third":"true"}
✓ ALLOWED pepr-demo/example-4
✎ MUTATED pepr-demo-2/example-4a
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/labels={"pepr.dev/first":"true","pepr.dev/second":"true","pepr.dev/third":"true"}
✓ ALLOWED pepr-demo-2/example-4a
✎ MUTATED pepr-demo/example-5
ADDED:
/data/chuck-says="What did the Buffalo say to his little boy when he dropped him off at school? Bison."
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo/example-5
✓ ALLOWED pepr-demo/example-2 (repeated 1 time)
✎ MUTATED pepr-demo/example-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✓ ALLOWED pepr-demo/example-2 (repeated 1 time)
✎ MUTATED pepr-demo/example-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✎ MUTATED pepr-demo/pepr-demo
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
REMOVED:
/metadata/labels/remove-me%!(EXTRA string=)
✓ ALLOWED pepr-demo/kube-root-ca.crt
✎ MUTATED pepr-demo-2/pepr-demo-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo-2/kube-root-ca.crt
✎ MUTATED pepr-demo/secret-1
REPLACED:
/data/example="dW5pY29ybiBtYWdpYyAtIG1vZGlmaWVkIGJ5IFBlcHI="
ADDED:
/data/magic="Y2hhbmdlLXdpdGhvdXQtZW5jb2Rpbmc="
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo-2/pepr-ssa-demo
✎ MUTATED pepr-demo/example-1
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✎ MUTATED pepr-demo/example-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✓ ALLOWED pepr-demo/example-evil-cm
✎ MUTATED pepr-demo/example-3
ADDED:
/data/username="system:admin"
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="making-waves"
✎ MUTATED pepr-demo/example-4
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/labels={"pepr.dev/first":"true","pepr.dev/second":"true","pepr.dev/third":"true"}
✎ MUTATED pepr-demo-2/example-4a
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/labels={"pepr.dev/first":"true","pepr.dev/second":"true","pepr.dev/third":"true"}
✎ MUTATED pepr-demo/example-5
ADDED:
/data/chuck-says="I started a new business making yachts in my attic this year...the sails are going through the roof"
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo/example-3
✓ ALLOWED pepr-demo/kube-root-ca.crt
✓ ALLOWED pepr-demo-2/kube-root-ca.crt
✓ ALLOWED pepr-demo-2/pepr-ssa-demo
✓ ALLOWED pepr-demo/example-1
✓ ALLOWED pepr-demo/example-2 (repeated 1 time)
✗ DENIED pepr-demo/example-evil-cm
No evil CM annotations allowed.
✓ ALLOWED pepr-demo/example-3
✓ ALLOWED pepr-demo/example-4
✓ ALLOWED pepr-demo-2/example-4a
✓ ALLOWED pepr-demo/example-5
✎ MUTATED pepr-demo/pepr-demo
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
REMOVED:
/metadata/labels/remove-me%!(EXTRA string=)
✓ ALLOWED pepr-demo/kube-root-ca.crt
✎ MUTATED pepr-demo-2/pepr-demo-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo-2/kube-root-ca.crt
✎ MUTATED pepr-demo/secret-1
ADDED:
/data/magic="Y2hhbmdlLXdpdGhvdXQtZW5jb2Rpbmc="
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
REPLACED:
/data/example="dW5pY29ybiBtYWdpYyAtIG1vZGlmaWVkIGJ5IFBlcHI="
✎ MUTATED pepr-demo/example-1
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✎ MUTATED pepr-demo/example-2
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="annotations-work-too"
/metadata/labels={"pepr":"was-here"}
✓ ALLOWED pepr-demo/example-evil-cm
✎ MUTATED pepr-demo/example-3
ADDED:
/data/username="system:admin"
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/annotations/pepr.dev="making-waves"
✎ MUTATED pepr-demo/example-4
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/labels={"pepr.dev/first":"true","pepr.dev/second":"true","pepr.dev/third":"true"}
✎ MUTATED pepr-demo-2/example-4a
ADDED:
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
/metadata/labels={"pepr.dev/first":"true","pepr.dev/second":"true","pepr.dev/third":"true"}
✎ MUTATED pepr-demo/example-5
ADDED:
/data/chuck-says="How do you make Lady Gaga cry? Poker face. "
/metadata/annotations/static-test.pepr.dev~1hello-pepr="succeeded"
✓ ALLOWED pepr-demo/example-3
✓ ALLOWED pepr-demo/kube-root-ca.crt
✓ ALLOWED pepr-demo-2/kube-root-ca.crt
✓ ALLOWED pepr-demo/example-1
✓ ALLOWED pepr-demo/example-2 (repeated 1 time)
✗ DENIED pepr-demo/example-evil-cm
No evil CM annotations allowed.
✓ ALLOWED pepr-demo/example-3
✓ ALLOWED pepr-demo/example-4
✓ ALLOWED pepr-demo-2/example-4a
✓ ALLOWED pepr-demo/example-5% |
closing this seems like it was fixed in UDS CLI, reached back out in slack and receieved no answer and chatted with Gedd who is not aware of a continued problem. If this pops back up we will re-open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your feature request related to a problem? Please describe.
Try and make sure every log line in npx pepr monitor contains the name of the
AdmissionReview
object if possible incurring overhead that would make the command less meaningful.related to:
pepr/src/lib/k8s.ts
Line 66 in 9db7e06
Thread for context
DOD:
Maybe a placeholder name. Something to make it obvious there is not a name yet but there will be.
Describe the solution you'd like
npx pepr monitor
is issuedDescribe alternatives you've considered
(optional) A clear and concise description of any alternative solutions or features you've considered.
Additional context
Slack Context
The text was updated successfully, but these errors were encountered: