docs: trim CLAUDE.md files to what the code doesn't show

Following the Claude Code memory docs: drop architecture lists, generic commands and CI details Claude can read from the code, keep the reasons behind decisions, and fix the outdated provider and pfSense SDK statements.
This commit is contained in:
kasun committed 2026-11-20 21:48:20 +01:00
1 parent 5cd50c31ff
commit 897813a916
6 files changed
+26 -208

No files matched your search

+2 -28
View File
@@ -1,30 +1,4 @@
# k8s-apps
Application workloads for the k3s homelab cluster. Reads `kubeconfig` from `k8s-bootstrap` via StackReference.
## Common Commands
```bash
npm install
pulumi up --yes
```
## Architecture
- **heimdall** — application dashboard (`lscr.io/linuxserver/heimdall`), namespace `heimdall`
- PVC `heimdall-config` (50Mi, `longhorn` StorageClass)
- Deployment + ClusterIP Service
- Ingress (`traefik` class, `cert-manager.io/cluster-issuer: letsencrypt-prod`) at `heimdall.<domain>`
- deployed with one replica because heimdall is not able to work with multiple replicas. Works with node failure detection and automatic rescheduling.
**Export**: `domain` (secret) — consumed by `monitoring` via StackReference for its own ingress hostnames.
## Required Pulumi config
```bash
pulumi config set --secret domain <your-domain>
```
## CI/CD
Workflow: `../.gitea/workflows/04-deploy-k8s-apps.yaml`. Secret: `K8S_APPS_PULUMI_DEV_YAML`.
- heimdall runs with one replica on purpose: it can't run with more than one. Node-failure recovery relies on rescheduling, not replicas.
- The `domain` output is consumed by `monitoring` for its ingress hostnames. Renaming or removing it breaks that stack.