Skip to content

Commit

Permalink
Sort talos patches for consistency (#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasurerarenai authored Jun 4, 2024
1 parent f397a7d commit ebce537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/scripts/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebce537

Please sign in to comment.