The content API of Krateo PlatformOps: it resolves RESTAction and frontend Widget
custom resources into the JSON the Krateo portal renders, served over GET /call.
A content bridge, not a BFF: snowplow holds no product state — it composes portal
content on demand from Kubernetes CRs (declarative REST-call chains, widget
definitions), enforces the caller's own RBAC, and serves any client that presents a
Krateo JWT. One monorepo, one version line: the app (go/snowplow/) and its Helm
charts (helm/) ship together from a single tag.
Full picture: docs/index.md.
Normally installed by the Krateo installer, which pins the chart. Standalone:
# CRDs first (RESTAction + the authn ServiceAccount CRD the app chart hard-requires):
helm install snowplow-crds oci://ghcr.io/krateo-platformops/charts/snowplow-crds --version 1.9.0
helm install authn-crds oci://ghcr.io/krateo-platformops/charts/authn-crds
helm install snowplow oci://ghcr.io/krateo-platformops/charts/snowplow \
--version 1.9.0 --namespace krateo-systemDetails, dependencies and the Kind quickstart: docs/usage.md.
Supported configuration: Kubernetes RBAC must be the only authorizer that can deny. With the cache on (the default), snowplow decides what each user may see by evaluating Kubernetes RBAC in memory. It does not consult other authorizers in the apiserver chain. Authorizers that only grant extra access (for example Google IAM on GKE, which runs after RBAC) are supported; users then see at most what RBAC allows. An authorizer that can deny a request RBAC allows, placed before RBAC (for example a deny-capable webhook), is not supported with the cache on. snowplow would not apply that deny. Such clusters must run with
env.CACHE_ENABLED: "false", where every access decision is checked by the apiserver for that user (a SelfSubjectAccessReview through the full authorizer chain). Details: docs/configuration.md.
See docs/configuration.md. Most used:
| Setting | Default | Effect |
|---|---|---|
env.CACHE_ENABLED |
"true" |
The single cache master gate; false = transparent direct-apiserver fallback (same data, slower). |
env.GOMEMLIMIT |
unset (derived: 7/8 of the container memory limit) | Go GC back-pressure ceiling. snowplow derives it from its cgroup memory limit; set it only to override, and then strictly below resources.limits.memory or Linux OOM-kills instead. |
service.type / service.port |
LoadBalancer / 8081 |
One port serves content, probes and debug surfaces. |
- examples/cluster-namespaces — a
RESTActionlisting cluster namespaces via the Kubernetes API, JQ-filtered to names. - examples/external-api — chained GET→POST against an external
service through an
EndpointSecret.
- docs/index.md — the map (bundle + the code-adjacent deep corpus)
- docs/overview.md — what it does and how it works
- docs/usage.md — how to install / consume it
- docs/configuration.md — the whole config surface
- docs/api.md — the
RESTActionCRD + the HTTP surface - docs/examples.md — examples index
- docs/release.md — how a release ships
- docs/log.md — curated history
Internals (code-traced): go/snowplow/ARCHITECTURE.md and the deep dives it links.
cd go/snowplow && go test ./... (keep KUBECONFIG unset — see
CONTRIBUTING); local cluster workflow via
go/snowplow/scripts/. Tag X.Y.Z (no v) ships image + charts — release runbook:
docs/release.md.