Base GitOps Validator
Offline Kubernetes manifest validation with kubeconform, kustomize, helm and flate in the zero-egress faber-sandbox image.
- Kind
- Validator
- Version
- 2.0.0
- Tier
- verified
- Needs Faber
- v2.0.0+
- Digest prefix
- sha256:9d6b87b9
Contract facts
- Variant
- base
- Network
- none
- no egress and no Secrets
- Mode
- image
- Profiles
- 3
- helm-template, kubeconform, kustomize-build
Install
Inspect the contract and RBAC delta
$ faberctl catalog inspect validators/base \ --source oci://ghcr.io/faberops/catalog:v2Render into your GitOps repository
$ faberctl catalog install validators/base \ --source oci://ghcr.io/faberops/catalog:v2 \ --out-dir ./kubernetes/apps/faber/configOr apply straight to the cluster
$ faberctl catalog install validators/base \ --source oci://ghcr.io/faberops/catalog:v2 \ --applyHow it works
- Variant:
base - Image:
ghcr.io/faberops/faber-sandbox:2.0.0 - Profiles:
helm-template,kubeconform,kustomize-build - Tools:
git,flate,helm,kustomize,kubeconform,yq
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
The image bundles the Kubernetes JSON schemas and the faberops.dev CRD schemas, so kubeconform runs without network access. Every validator runs in an ephemeral gVisor sandbox with no Secrets, no service account token and no egress.
Manifest, ready to apply
apiVersion: faberops.dev/v1beta1
kind: Repository
metadata:
name: example-gitops
namespace: faber
spec:
kind: gitops
url: https://github.com/example-org/example-gitops
forge:
provider: github
owner: example-org
repo: example-gitops
githubApp:
secretRef:
name: faber-github-app
key: privateKey
validator:
mode: image
image: ghcr.io/faberops/faber-sandbox:2.0.0
profiles:
- helm-template
- kubeconform
- kustomize-build
timeout: 5m
guardrails:
maxChangedFiles: 10
maxChangedLines: 250
secretScan: true
requireValidation: true
# Catalog metadata for validators/base. Not applied to the cluster.
apiVersion: catalog.faberops.dev/v2
kind: CatalogPack
metadata:
name: base
category: validators
version: 2.0.0
spec:
tier: verified
minFaberVersion: v2.0.0
digest: sha256:9d6b87b9dcd291dbb11299fd93280e1e872a771c25dac083e774a7f06eebbedb
Copy it into kubectl apply -f -, or let faberctl catalog install render it with provenance annotations into your GitOps path.
Related packs
All 176 packsGitOps Flate Diff Validator
validators/gitops-flateOffline GitOps pull request diff rendering and manifest validation with flate, kubeconform, pluto, yq, rg and fd in the zero-egress faber-sandbox-gitops image.Variant gitopsPR Change Reviewer
playbooks/pr-change-reviewerReviews Kubernetes and GitOps pull requests with rendered flate diffs, controller-fetched release notes, live cluster context, risk scoring and optional HITL fixes.Default ObserveCeiling HITLGitOps Dependency Upgrader
playbooks/gitops-dependency-upgraderScans Kubernetes and GitOps repositories for dependency updates at zero LLM cost, applies soak and cluster pre-flight rules, migrates breaking chart or image updates in gVisor, opens verified pull requests, and merges on authorized PR approval (HITL) or cross-vendor verification (AITL).Default ObserveCeiling AITL