fix: load api-key from secrets

This commit is contained in:
2025-09-13 23:57:54 +00:00
parent 17c9963c0f
commit 59283fff6d

View File

@@ -15,7 +15,7 @@ IMG ?= ubuntu-24.04
USER ?= admin
# Decrypt Hetzner token at runtime (requires SOPS_AGE_KEY or keys.txt locally)
HCLOUD_TOKEN := $(shell sops -d --extract '["ops"]["hcloud_token"]' inventory/group_vars/secrets.sops.yaml 2>/dev/null)
HCLOUD_TOKEN := $(shell sops -d --extract '["hetzner"]["token"]' secrets/hetzner-token.sops.yaml 2>/dev/null)
# ---- Help ----
help: ## Show this help