Sort talos patches for consistency (#1511)
This commit is contained in:
1 parent
f397a7d09c
commit
ebce537dca
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user