mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-06-11 13:44:56 +03:00
1.1 KiB
1.1 KiB
Workflow - Securing Helm Chart Deployments
Phase 1: Chart Development Security
- Set secure defaults in values.yaml (non-root, read-only fs, resource limits)
- Add network policy templates
- Use external secrets references
- Lint with
helm lint --strict
Phase 2: CI Pipeline
- Render templates:
helm template test ./chart -f values.yaml > rendered.yaml - Lint:
helm lint ./chart --strict - Scan:
kube-linter lint rendered.yaml - Scan:
checkov -f rendered.yaml --framework kubernetes - Sign chart:
helm package ./chart --sign
Phase 3: Deployment
- Verify chart signature:
helm verify chart.tgz - Deploy with production values:
helm install release ./chart -f values-prod.yaml - Verify deployment:
helm test release
Phase 4: Post-Deployment
- Validate security contexts:
kubectl get pods -o jsonpath='{.items[*].spec.securityContext}' - Check network policies applied
- Verify secrets sourced from external store
Phase 5: Maintenance
- Update chart versions in lockfile
- Rescan after dependency updates
- Rotate signing keys annually