This document provides guidelines for testing the OpenCTI Helm chart. Follow these instructions to ensure the chart works as expected before deployment to production.
# Run helm lint to check for any syntax issues
helm lint charts/openaev# Generate and verify the template output
helm template openaev charts/openaev --debug# Install the chart in a test namespace
kubectl create namespace openaev-test
helm install openaev-test charts/openaev --namespace openaev-test- Check all pods are running:
kubectl get pods -n openaev-test- Verify services are exposed:
kubectl get svc -n openaev-test- Check platform accessibility:
kubectl port-forward svc/openaev-test 8080:8080 -n openaev-test- Validate component health:
- OpenCTI platform UI accessibility
- ElasticSearch connection
- RabbitMQ status
- MinIO/S3 connectivity
- Redis cluster status
-
Platform Login
- Verify default admin credentials work
- Test SSO if configured
-
Data Operations
- Create a test entity
- Import a sample STIX bundle
- Verify connectors are working
-
Integration Testing
- Test configured connectors
- Verify data ingestion
- Check export functionality
# Test upgrade from previous version
helm upgrade openaev-test charts/openaev --namespace openaev-test# Remove test deployment
helm uninstall openaev-test --namespace openaev-test
kubectl delete namespace openaev-testFor CI/CD pipelines, you can use the following tools:
Example CI test command:
ct lint-and-install --config ct.yaml