Golden paths and developer portals
A golden path is a supported way to deliver a service
An internal developer platform (IDP) is a set of services, interfaces and workflows that lets application teams deliver software with fewer repeated infrastructure decisions. A golden path is a maintained, documented starting workflow, not a second Kubernetes distribution. Imagine a bookstore team onboarding a catalog HTTP service. Instead of asking an administrator to create every namespace and pipeline manually, the team submits a small request. A platform workflow validates it, prepares reviewed configuration and exposes the resulting status. The application team remains responsible for service behavior.
catalog team -> request -> reviewed template output -> Git review -> reconciliation -> readiness evidenceSeparate the portal, workflow and enforcement
Backstage can provide a software catalog, templates, documentation and permission-aware interfaces. The catalog describes ownership and metadata; it is not the authoritative Kubernetes authorization database. The scaffolder can prepare source files and invoke configured actions. A portal is only one possible interface: teams may instead use a reviewed Git request or a CLI backed by the same controlled workflow. Crossplane offers a different building block: custom platform APIs that reconcile composed resources through installed providers. These tools can cooperate, but neither a portal nor a template replaces admission, RBAC or actual readiness checks.
Portal: request and discoveryWorkflow: validation and generationGitOps: approved desired stateKubernetes admission and RBAC: enforce policyControllers: reconcile and reportMake the request narrow and versioned
The offline fixture accepts a fictional service name, owning team, approved environment, template version and an image digest from an approved placeholder registry. It rejects extra fields, unknown owners, and production requests without separately supplied approval evidence. A caller cannot choose an arbitrary cluster, namespace, role or template action. The script emits a deterministic plan, not actual Kubernetes objects or a Backstage Template. In real systems derive identity and approval from trusted systems, bind approval to the exact input and revision, and use narrowly scoped service identities. A checkbox supplied by the requester is not proof of approval.
{ "service": "catalog", "team": "bookstore", "environment": "dev", "template": "v1", "digest": "sha256:<64 lowercase hexadecimal characters>"}Design a safe delivery workflow
A reusable reviewed Helm chart or Kustomize base can express approved deployment defaults: resource requests and limits, restricted container security settings, probes, internal Service, labels, and observable signals. Do not generate credential values, broad role bindings or internet-facing endpoints by default. CI should test rendered manifests, review dependency and image provenance, and publish an immutable artifact. An admission policy with an applicable binding can enforce required properties even when a caller bypasses the portal. Use the actual installed policy features and test allowed and rejected cases. The fixture returns an abstract configuration plan rather than a deployable chart.
Default: ClusterIP, bounded requests, owner, readiness check, telemetryException: public listener -> separate reviewed workflowCI passing != admission accepted != workload healthyHandle retries, exceptions and template evolution
A repeated request should resolve to the same service identity and same plan when its input and template revision are unchanged. In a real provisioner, reserve the identity atomically and check existing ownership before writes. Repeated generation of equal local data is not proof of concurrency safety or external idempotence. Version templates and publish migration notes; do not silently overwrite existing services when a template changes. An exception should identify a responsible approver, scope, expiration and compensating controls. Review deprovisioning too: a service removal may leave data, credentials or billing resources.
same request + same template -> same planexisting identity, different owner -> rejectunsupported template -> hold and review migrationPractice and next step
From lab-fixtures/platform-engineering run python validate_offline.py. Predict the accepted and rejected requests, inspect the generated plan, and describe where trusted approval and enforcement would be checked in a real deployment. Design a documented exception for an internal service needing an additional dependency, without giving the portal arbitrary infrastructure privileges. Next: platform contracts and feedback.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Golden paths and developer portals — knowledge check
Design a self-service template with approvals
What does a software catalog primarily describe?
Where should production approval evidence come from?
What does deterministic plan generation demonstrate?
Why enforce policy at admission as well as in a portal?
How should an unsupported template revision be handled?