Test Sidecar Injection and Secret Retrieval
4 min
deploy a test pod into the target namespace to verify the injector is working kubectl run test pod image=nginx n \<target namespace> kubectl get pod test pod n \<target namespace> expected 2/2 running (two containers the application + aapm client) check injected secrets kubectl get pod test pod n \<target namespace> o jsonpath='{ spec containers\[ ] name}' check created keystore files kubectl exec test pod c aapm client n \<target namespace> ls la /keystore expected {label} env and config files for each userlabel check aapm client logs kubectl logs test pod c aapm client n \<target namespace> tail=20 expected pollsecrets completed (without any error/fallback line)