From 7d6413cf100b63fc5081aee32c40ed36e2eaa845 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 11 Nov 2025 03:45:10 +0100 Subject: [PATCH] Also load config settings from secrets.yaml --- .gitattributes | 1 + tools/render | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 2be6974..cd0b993 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ _secrets.yaml filter=git-crypt diff=git-crypt +secrets.yaml filter=git-crypt diff=git-crypt diff --git a/tools/render b/tools/render index 8794f06..6bb88c4 100755 --- a/tools/render +++ b/tools/render @@ -134,6 +134,9 @@ def main(): with open(ROOT.joinpath("config.yaml")) as fyaml: config = yaml.safe_load(fyaml) + with open(ROOT.joinpath("secrets.yaml")) as fyaml: + config |= yaml.safe_load(fyaml) + template_args = {"config": config, "root": ROOT} nodes = []