A Helm library chart providing standardized Kubernetes resource templates for Platform One Big Bang packages.
BB-Common is a library chart designed to reduce code duplication and accelerate package development within the Platform One Big Bang ecosystem. Big Bang is the Department of Defense's declarative continuous delivery tool for deploying DoD-hardened and approved packages into Kubernetes clusters.
This chart provides reusable templates and abstractions for common Kubernetes resources, starting with a sophisticated network policy framework that simplifies security configuration while maintaining compliance with DoD DevSecOps requirements.
The centerpiece of bb-common is its comprehensive network policy system that transforms complex Kubernetes NetworkPolicy resources into intuitive, declarative configurations:
- Shorthand Syntax: Express complex network rules with simple notation like
backend/api:8080or10.0.0.0/8:443 - Security by Default: Automatic deny-all policies with selective allow rules following zero-trust principles
- Built-in Definitions: Pre-configured rules for common patterns (Istio gateway, monitoring, DNS)
- Smart Defaults: Automatically handles DNS resolution, in-namespace communication, and Istio control plane traffic
- Full Flexibility: Support for raw NetworkPolicy specs when needed
Learn more about network policies →
BB-Common provides templates for Istio service mesh resources including authorization policies, peer authentication.
- Authorization Policies: Generate Istio AuthorizationPolicies automatically from NetworkPolicy configurations or define custom policies
- Secure Default Policies: Default Sidecar, PeerAuthentication, AuthorizationPolicy configuration for enhanced security posture
Learn more about Istio resources →
Simplified configuration for Istio VirtualServices and traffic routing:
- Gateway Integration: Easy configuration of ingress routes through Istio gateways
- Traffic Management: Declare routing rules with minimal boilerplate
Add bb-common to your chart dependencies:
# Chart.yaml
dependencies:
- name: bb-common
version: "<version>"
repository: oci://registry1.dso.mil/bigbangThen configure in your values:
# values.yaml
bb-common:
networkPolicies:
enabled: true
egress:
from:
my-app:
to:
k8s:
backend/api:8080: trueFor more control, use bb-common as a library:
# Chart.yaml
dependencies:
- name: bb-common
version: "<version>"
repository: oci://registry1.dso.mil/bigbangInclude templates in your chart:
# templates/bigbang/network-policies.yaml
{{- include "bb-common.network-policies.render" . }}Configure directly in values:
# values.yaml
networkPolicies:
enabled: true
egress:
from:
my-app:
to:
k8s:
backend/api:8080: true- Helm 3.x
- helm-unittest plugin for testing
cd chart
helm dep update
helm unittest .Preview generated resources:
cd chart
helm template my-release . --values values.yamlPlease see CONTRIBUTING.md for contribution guidelines.
The goal is to provide a comprehensive library that standardizes Big Bang integration while reducing boilerplate across all packages.
Future additions to bb-common will include:
- Service Entries: External service registration
See LICENSE for licensing information.
For issues, feature requests, or questions:
- Review the documentation
- Check existing issues and discussions
- Contact the Big Bang team through official Platform One channels