about summary refs log tree commit diff
path: root/bundles/golink/items.py
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/golink/items.py')
-rw-r--r--bundles/golink/items.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/bundles/golink/items.py b/bundles/golink/items.py
index 8f79a22..6a87f1f 100644
--- a/bundles/golink/items.py
+++ b/bundles/golink/items.py
@@ -1,7 +1,12 @@
 files = {
     "/etc/deployments/golink/kube.yaml": {
-        "content_type": "text",
-        "source": "kube.yaml",
+        "triggers": {"svc_s6rc:golink:restart"},
+    },
+    "/var/lib/golink/snapshot.json": {
+        "content_type": "mako",
+        "context": {
+            "links": node.metadata.get("go", {}),
+        },
         "triggers": {"svc_s6rc:golink:restart"},
     },
 }