diff --git a/bootstrap/scripts/plugin.py b/bootstrap/scripts/plugin.py index d474921c..e8f1a288 100644 --- a/bootstrap/scripts/plugin.py +++ b/bootstrap/scripts/plugin.py @@ -21,7 +21,7 @@ def talos_patches(value: str) -> list[str]: path = Path(f'bootstrap/templates/kubernetes/bootstrap/talos/patches/{value}') if not path.is_dir(): return [] - return [str(f) for f in path.glob('*.yaml.j2') if f.is_file()] + return [str(f) for f in sorted(path.glob('*.yaml.j2')) if f.is_file()] # Return the nth host in a CIDR range