diff --git a/nixos/modules/services/cluster/rancher/default.nix b/nixos/modules/services/cluster/rancher/default.nix index a1b59366fabd..c8c09a0b6685 100644 --- a/nixos/modules/services/cluster/rancher/default.nix +++ b/nixos/modules/services/cluster/rancher/default.nix @@ -29,7 +29,7 @@ let containerdConfigTemplateFile = "/var/lib/rancher/${name}/agent/etc/containerd/config.toml.tmpl"; staticContentChartDir = "/var/lib/rancher/${name}/server/static/charts"; - manifestFormat = if jsonManifests then pkgs.formats.json { } else pkgs.formats.yaml { }; + manifestFormat = if jsonManifests then pkgs.formats.json { } else pkgs.formats.yaml_1_2 { }; # Manifests need a valid suffix to be respected mkManifestTarget = name: