Skip to content
ReferenceDeprecations

Deprecations

Nyl keeps accepting a deprecated form for a while after it changes, warns whenever it reads one, and lists it here until support ends. Migrate before the removal release; nothing else changes when you do.

DeprecatedUse insteadDeprecated inRemoval
Cluster under apiVersion: k8s.gitops.nyl/v1apiVersion: k8s.nyl/v1the release after 0.5.9a future release
Release under apiVersion: k8s.gitops.nyl/v1apiVersion: k8s.nyl/v1the release after 0.5.9a future release
nyl render --contextnothing: render never connects to Kubernetesthe release after 0.5.9a future release

A Cluster describes a Kubernetes cluster and a Release is the unit Nyl renders, whether nyl render and nyl apply run it or a deployment target publishes it. Both belong with the other Kubernetes resources in k8s.nyl/v1. Change the apiVersion line of each Cluster and Release document:

apiVersion: k8s.nyl/v1
kind: Cluster

Rendered output stays the same either way. Schema URLs under k8s.gitops.nyl/v1/ keep resolving to the current schemas.