Faberby FaberOps

Bring Your Own Container App Validator

Language-agnostic application validation that runs your own container image and command in the zero-egress sandbox.

Kind
Validator
Version
2.0.0
Tier
verified
Needs Faber
v2.0.0+
Digest prefix
sha256:37dd521f

Contract facts

Variant
byo
Network
none
no egress and no Secrets
Mode
image
Languages
7
Java, C/C++, Rust, Go, Python, Node, NET

Install

Inspect the contract and RBAC delta

$ faberctl catalog inspect validators/app-container-byo \ --source oci://ghcr.io/faberops/catalog:v2

Render into your GitOps repository

$ faberctl catalog install validators/app-container-byo \ --source oci://ghcr.io/faberops/catalog:v2 \ --out-dir ./kubernetes/apps/faber/config

Or apply straight to the cluster

$ faberctl catalog install validators/app-container-byo \ --source oci://ghcr.io/faberops/catalog:v2 \ --apply

How it works

  • Variant: byo
  • Image: registry.example.com/acme/app-validator:1.0.0
  • Profiles: none, the command carries the check
  • Tools: user-supplied

Use it

Bind the validator on a Repository. Playbooks that open pull requests declare the variant they need under spec.requires.validator, and Faber refuses to open a pull request until the sandbox verdict passes.

Notes

Faber never installs toolchains. Build an image that already holds your compilers, dependencies and test runner, push it to a registry your cluster can pull from, and Faber runs your command with no secrets and no egress. Every validator runs in an ephemeral gVisor sandbox with no Secrets, no service account token and no egress.

Example images per language

The validator does not care which language you use. Point spec.validator.image at any image that holds your toolchain and set command to your usual check.

LanguageExample imageExample command
Javamaven:3-eclipse-temurin-21mvn -o -q verify
C/C++gcc:14 with CMakecmake -S . -B build && cmake --build build && ctest --test-dir build
Rustrust:1cargo test --offline
Gogolang:1go test ./...
Pythonpython:3.13pytest -q
Nodenode:22npm test
.NETmcr.microsoft.com/dotnet/sdk:9.0dotnet test --no-restore

Bake dependencies into the image (for example mvn dependency:go-offline, cargo fetch, npm ci) because the sandbox has no network access.

Manifest, ready to apply

repository.yamlRepository27 lines
apiVersion: faberops.dev/v1beta1
kind: Repository
metadata:
  name: example-app
  namespace: faber
spec:
  kind: app
  url: https://github.com/example-org/example-app
  forge:
    provider: github
    owner: example-org
    repo: example-app
    githubApp:
      secretRef:
        name: faber-github-app
        key: privateKey
  validator:
    mode: image
    image: registry.example.com/acme/app-validator:1.0.0
    command:
      - 'make verify'
    timeout: 5m
  guardrails:
    maxChangedFiles: 10
    maxChangedLines: 250
    secretScan: true
    requireValidation: true
pack.yamlcatalog metadata11 lines
# Catalog metadata for validators/app-container-byo. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
  name: app-container-byo
  category: validators
  version: 2.0.0
spec:
  tier: verified
  minFaberVersion: v2.0.0
  digest: sha256:37dd521f92b8e9ea0a6583e9baca28d7a52a796c5b1f9c5d7566321338f2ec2e

Copy it into kubectl apply -f -, or let faberctl catalog install render it with provenance annotations into your GitOps path.