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 /keystoreExpected: {label}.env and config files for each userLabel.
Check aapm-client Logs
kubectl logs test-pod -c aapm-client -n <TARGET_NAMESPACE> --tail=20Expected: pollSecrets completed (without any error/fallback line).