Hey guys, I’m working on a context and facing a kinda weird issue.
Context is, I’m deploying Kritis on my K8s Cluster on a 'default' namespace.
I’m, also, deploying two GAPs/AttestationAuthorities, one for the 'default' namespace and one for the 'test' namespace.
The thing is, whenever I try to deploy a pod on my 'default' namespace (same namespace that Kritis is deployed), everything works pretty normal and Kritis is able to validate and allow/block all images/pods.
But, whenever I try to deploy a pod on the 'test' namespace, kritis-validation-hook pod logs get stuck and I get the following error on my terminal:
Error from server (InternalError): error when creating "pod.yaml": Internal error occurred: failed calling webhook "kritis-validation-hook.grafeas.io": Post https://kritis-validation-hook.default.svc:443/?timeout=30s: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
To get things weirder, if I delete the Occurrence related to the image on the 'test' namespace, my logs on the kritis-validation-hook pod get unstuck and prints the message that the image is attested and its allowed to be deployed (although the image is attested, when I get the timeout error it doesn’t get deployed).
Do you guys have any ideia about this problem?
And btw, am I doing things right? I mean, is it ok to deploy Kritis on a namespace and deploy GAPs and Authorities to check all other namespaces in the cluster?
Btw, I’m using the same secret (deployed on the 'default' namespace) for all Attestations.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Kritis users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kritis-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kritis-users/2bffbfdc-1af2-42fd-a44d-c5c618635d71n%40googlegroups.com.







To view this discussion on the web visit https://groups.google.com/d/msgid/kritis-users/adddf84c-544b-45b5-abfc-4b19de61a811n%40googlegroups.com.



To view this discussion on the web visit https://groups.google.com/d/msgid/kritis-users/320924f7-0866-467c-b438-e65dd0a7aae7n%40googlegroups.com.