fix extraFlags example

The previous example was taken from K3S and doesn't apply here.
This commit is contained in:
Jonas Chevalier 2023-11-06 12:18:19 +01:00
parent fcaaf42c6e
commit 15d71f105d
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution. RKE2, also known as RKE Government, is Rancher's next-generation Kubernetes distribution.
The rke2 package is already in nixpkgs. The RKE2 package is already in nixpkgs.
This repository provides the NixOS module for it. This repository provides the NixOS module for it.

View File

@ -59,7 +59,7 @@ in
description = lib.mdDoc "Extra flags to pass to the rke2 command."; description = lib.mdDoc "Extra flags to pass to the rke2 command.";
type = types.listOf types.str; type = types.listOf types.str;
default = [ ]; default = [ ];
example = [ "--no-deploy" "traefik" "--cluster-cidr" "10.24.0.0/16" ]; example = [ "--disable" "rke2-ingress-nginx" "--cluster-cidr" "10.24.0.0/16" ];
}; };
environmentFile = mkOption { environmentFile = mkOption {