Kubernetes RenderingUsing RemoteManifest
Using RemoteManifest
See the RemoteManifest resource reference for the API, example, and field definitions.
Behavior
Section titled “Behavior”- All URLs must use
https://. - Fetching uses Nyl’s native HTTPS client (no shell-out), with HTTPS-only redirect policy.
- Request timeouts are enforced per URL (connect: 5s, total: 30s).
- Response size is limited to 30 MiB per URL; larger payloads fail fast.
- Content is parsed as YAML multi-document stream.
- When
spec.urlsis used, documents from all URLs are concatenated in order. - Parsed resources are processed recursively like local resources.
- Remote content is not rendered as a Jinja template.
- When
spec.overrideNamespace: true, remote manifests withmetadata.namespaceare rewritten toRemoteManifest.metadata.namespace(applied after all URLs are fetched). - Special case: for
RoleBindingandClusterRoleBinding(rbac.authorization.k8s.io/*),subjects[*].namespaceis also rewritten (ServiceAccount subjects are forced to the override namespace). - Potential future rewrite targets (currently not handled): webhook service namespaces (
MutatingWebhookConfiguration,ValidatingWebhookConfiguration, CRD conversion webhook), andAPIService.spec.service.namespace. - Fetch or parse failures stop the command (
render,diff,apply).
Examples
Section titled “Examples”Single URL
Section titled “Single URL”apiVersion: k8s.nyl/v1kind: RemoteManifestmetadata: name: shared-crdsspec: url: https://example.com/platform/crds.yamlMultiple URLs with a shared version parameter
Section titled “Multiple URLs with a shared version parameter”apiVersion: k8s.nyl/v1kind: RemoteManifestmetadata: name: gateway-api-crds namespace: nginx-gatewayspec: params: # renovate: datasource=github-releases depName=kubernetes-sigs/gateway-api versioning=semver version: 1.5.1 urls: - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v{version}/config/crd/standard/gateway.networking.k8s.io_gatewayclasses.yaml - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v{version}/config/crd/standard/gateway.networking.k8s.io_gateways.yaml - https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v{version}/config/crd/standard/gateway.networking.k8s.io_httproutes.yaml