This repository contains Helm charts for Jit Security's Kubernetes applications.
A Kubernetes resource collector with Kubescape security scanning that periodically gathers cluster resource information and security findings, uploading them to Jit.
The Jit Kubernetes Agent now includes Kubescape security scanning, providing automated security assessments alongside existing resource collection.
# Update repository and upgrade
helm repo update jitsecurity
helm upgrade jit-k8s-agent jitsecurity/jit-k8s-agent -n jit-k8s-agent# If upgrade fails, clean reinstall
helm uninstall jit-k8s-agent -n jit-k8s-agent
helm install jit-k8s-agent \
--set jit.clientId=<CLIENT_ID> \
--set jit.clientSecret=<CLIENT_SECRET> \
--set cluster.name=<CLUSTER_NAME> \
-n jit-k8s-agent --create-namespace \
jitsecurity/jit-k8s-agent- Default: ✅ Enabled (automatic security scanning)
- Disable:
--set kubescape.enabled=false - Configuration: The Helm chart value
kubescape.enabledis authoritative - it sets theKUBESCAPE_ENABLEDenvironment variable in pod templates - Behavior Changes: To toggle Kubescape on/off, use
helm upgradewith the desired setting - changing environment variables on running pods has no effect without pod recreation
- Previous: 1Gi memory requests / 2Gi limits
- New: 2Gi memory requests / 4Gi limits (increased for security scanning)
| Feature | Before | After |
|---|---|---|
| Resource Collection | ✅ Kubernetes resources | ✅ Kubernetes resources |
| Security Scanning | ❌ Manual/separate tools | ✅ Automated Kubescape NSA framework |
| Findings Integration | ❌ Siloed security data | ✅ Unified security + resource findings |
| Deployment Complexity | Simple | Same simplicity + security |
- Execution Time: More seconds per scan (for security analysis)
- Memory Usage: +500MB-1GB during scanning
- Additional Data: Security findings uploaded to Jit dashboard
- Same resource collection as before
- New security findings in Jit dashboard
- Longer job execution
- Higher memory usage during scans
After upgrade, customers should see:
kubectl logs -n jit-k8s-agent job/jit-k8s-agent-initial-jobSuccess indicators:
- ✅
"Starting Kubescape security scan..." - ✅
"Kubescape security scan completed" - ✅
"Successfully uploaded Kubescape scan results" - ✅
"Reported 2 upload paths"(instead of 1)
- Framework: NSA Kubernetes Hardening Guide
- Version: Kubescape v3.0.40 (pinned for stability)
- Permissions: No additional RBAC required
- Data: Encrypted uploads to existing S3 infrastructure
| Issue | Solution |
|---|---|
| Memory pressure | Ensure nodes have adequate resources or temporarily disable: --set kubescape.enabled=false |
| Upgrade fails | Use fresh installation option |
| Scan errors | Check logs and verify network connectivity |
helm rollback jit-k8s-agent -n jit-k8s-agentHelm must be installed to use the charts. Please refer to Helm's documentation to get started.
Once Helm has been set up correctly, add the repo as follows:
helm repo add jitsecurity https://jitsecurity.github.io/helm-charts
helm repo updateYou can then run helm search repo jitsecurity to see the available charts.