add cloudflare api token

This commit is contained in:
williamp committed 2026-03-19 18:13:13 -04:00
1 parent 425f9ee792
commit 33f0e30229
4 files changed
+24 -3

No files matched your search

@@ -0,0 +1,17 @@
{ config, ... }:
{
sops.templates."cloudflare-api-token.yaml" = {
mode = "0444";
content = ''
apiVersion: v1
kind: Secret
metadata:
name: cloudflare-api-token
namespace: cert-manager
type: Opaque
stringData:
api-token: ${config.sops.placeholder.cloudflare_api_token}
'';
path = "/var/lib/rancher/k3s/server/manifests/secrets/cloudflare-api-token.yaml";
};
}