Tier 1 Quickstart (One-Command GitOps PRs)
Tier 1 adds isolated repository editing, offline manifest validation inside ephemeral kubernetes-sigs/agent-sandbox pods, operator-side hard diff policy gates, optional human-in-the-loop approval checkpoints, and automated Pull Request or Merge Request creation.
Prerequisites
Section titled “Prerequisites”- A Kubernetes cluster (
>= 1.28) withkubectlandhelm(>= 3.12) - A GitOps repository hosted on GitHub, GitLab, Forgejo, or Gitea
- An LLM API key (or a
ModelProfilealready created from Tier 0 Quickstart)
1. One-Command Helm Install with Bundled agent-sandbox
Section titled “1. One-Command Helm Install with Bundled agent-sandbox”Faber vendors the upstream kubernetes-sigs/agent-sandbox controller (v1.0.12, chart 0.1.5) as an optional subchart under agentSandbox.*. Enable both agentSandbox.enabled=true and sandbox.enabled=true for a single-command Tier 1 install:
helm upgrade --install faber oci://ghcr.io/faberops/charts/faber \ --version 2.0.0 \ --namespace faber \ --create-namespace \ --set agentSandbox.enabled=true \ --set sandbox.enabled=trueBy default, sandbox.runtimeClassName is empty ("") so sandbox pods work out of the box on EKS, GKE, AKS, Talos, and kind clusters without pre-installing a custom RuntimeClass.
Production Hardening with gVisor
Section titled “Production Hardening with gVisor”For production clusters that run a gVisor (runsc) RuntimeClass, add --set sandbox.runtimeClassName=gvisor to isolate untrusted sandbox execution inside a user-space kernel:
helm upgrade --install faber oci://ghcr.io/faberops/charts/faber \ --version 2.0.0 \ --namespace faber \ --set agentSandbox.enabled=true \ --set sandbox.enabled=true \ --set sandbox.runtimeClassName=gvisorIf your cluster already runs agent-sandbox independently, leave agentSandbox.enabled=false and set only --set sandbox.enabled=true to avoid CRD or controller conflicts.
2. Scaffold GitOps Manifests with faberctl init
Section titled “2. Scaffold GitOps Manifests with faberctl init”Install faberctl and scaffold starter manifests for your GitOps repository. faberctl init probes your cluster for Flux, Argo CD, cert-manager, ExternalSecrets, Prometheus MCP, and VictoriaLogs MCP (or pass --offline to skip cluster probing):
go install github.com/faberops/faber/cmd/faberctl@latest
faberctl init \ --repo my-org/cluster-gitops \ --forge github \ --model-provider openai \ --out-dir ./faber-gitops3. Connect Your Git Forge
Section titled “3. Connect Your Git Forge”Start quickly on GitHub using a fine-grained Personal Access Token (contents: write, pull_requests: write, metadata: read scoped to your GitOps repository only):
kubectl -n faber create secret generic faber-github-token \ --from-literal=token="$GITHUB_PAT"Create a GitOpsRepository pointing to the bundled faber-validator SandboxTemplate and enabling offline kubeconform validation:
apiVersion: faberops.dev/v1alpha1kind: GitOpsRepositorymetadata: name: cluster-gitops namespace: faberspec: forge: provider: github owner: my-org repo: cluster-gitops defaultBranch: main branchPrefix: agent/ tokenSecretRef: name: faber-github-token key: token validation: sandboxTemplateRef: name: faber-validator namespace: faber validationProfiles: - kubeconform guardrails: maxChangedFiles: 10 maxChangedLines: 500 requireValidation: true secretScan: trueFor production GitHub App setup (short-lived installation tokens and GitHub-signed Verified GraphQL commits) or GitLab, Forgejo, and Gitea configuration, see Git Forges.
4. Enable a Tier 1 Policy Preset
Section titled “4. Enable a Tier 1 Policy Preset”Render and apply a Tier 1 remediation preset such as flux-failure-fixer or argocd-sync-fixer:
faberctl pack render flux-failure-fixer --repo cluster-gitops > flux-failure-fixer.yamlkubectl apply -f flux-failure-fixer.yamlFor Argo CD clusters, enable least-privilege read-only Argo CD RBAC (--set rbac.argocdReadOnly=true) and render argocd-sync-fixer:
faberctl pack render argocd-sync-fixer --repo cluster-gitops > argocd-sync-fixer.yamlkubectl apply -f argocd-sync-fixer.yamlEnsure a namespace-default ModelProfile (spec.default: true) exists in faber, or reference one explicitly via GitOpsRepository.spec.defaultModelProfileRef.
5. Inspect Runs, Diffs, and Approvals
Section titled “5. Inspect Runs, Diffs, and Approvals”Watch runs live from the embedded Web GUI (kubectl -n faber port-forward svc/faber 8080:8080) or faberctl:
faberctl --server http://127.0.0.1:8080 runs list --tier 1 --limit 10faberctl --server http://127.0.0.1:8080 runs diff <run-id>faberctl --server http://127.0.0.1:8080 runs watch <run-id>Next Steps
Section titled “Next Steps”- Require operator sign-off before opening PRs with HITL Approvals.
- Scale to active/standby multi-replica HA with SQLite and PostgreSQL HA.
- Review isolation boundaries and hard diff gates in the Threat Model.