You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,17 +53,21 @@ missing environment variables that are not mentioned and suggest updates here.
53
53
| SPIKE Nexus |`SPIKE_NEXUS_SHAMIR_SHARES`| The total number of shares used for secret sharding, this should be equal to the number of SPIKE Keepers too. |`3`|
54
54
| SPIKE Nexus |`SPIKE_NEXUS_SHAMIR_THRESHOLD`| The minimum number of shares to be able to reconstruct the root key. |`2`|
55
55
| SPIKE Nexus |`SPIKE_NEXUS_KEEPER_UPDATE_INTERVAL`| The duration between SPIKE Nexus updates SPIKE Keepers with the relevant shard information. |`5m`|
56
+
| SPIKE Nexus |`SPIKE_NEXUS_DATA_DIR`| Custom data directory for SPIKE Nexus database storage. If not set, falls back to `~/.spike/data`. |`""` (uses `~/.spike/data`) |
57
+
| SPIKE Pilot |`SPIKE_PILOT_RECOVERY_DIR`| Custom recovery directory for SPIKE Pilot recovery shards. If not set, falls back to `~/.spike/recover`. |`""` (uses `~/.spike/recover`) |
56
58
| SPIKE Pilot |`SPIKE_PILOT_SHOW_MEMORY_WARNING`| Whether to show a warning when the system cannot lock memory for security. |`false`|
57
59
| All |`SPIKE_SYSTEM_LOG_LEVEL`| The log level for all SPIKE components (`"DEBUG"`, `"INFO"`, `"WARN"`, `"ERROR"`). |`"WARN"`|
58
60
| All |`SPIKE_NEXUS_API_URL`| The URL where SPIKE Nexus can be reached |`"https://localhost:8553"`|
59
61
| All |`SPIKE_TRUST_ROOT`| The SPIFFE trust root used within the SPIKE trust boundary. Can be a single entry, or a comma-delimited list of suitable trust roots. |`"spike.ist"`|
60
62
| All |`SPIKE_TRUST_ROOT_KEEPER`| The SPIFFE trust root used for SPIKE Keeper instances. Can be a single entry, or a comma-delimited list of suitable trust roots. |`"spike.ist"`|
61
63
| All |`SPIKE_TRUST_ROOT_PILOT`| The SPIFFE trust root used for SPIKE Pilot instances. Can be a single entry, or a comma-delimited list of suitable trust roots. |`"spike.ist"`|
62
64
| All |`SPIKE_TRUST_ROOT_NEXUS`| The SPIFFE trust root used for SPIKE Nexus instances. Can be a single entry, or a comma-delimited list of suitable trust roots. |`"spike.ist"`|
65
+
| All |`SPIKE_TRUST_ROOT_BOOTSTRAP`| The SPIFFE trust root used for SPIKE Bootstrap. Can be a single entry, or a comma-delimited list of suitable trust roots. |`"spike.ist"`|
63
66
| All |`SPIKE_TRUST_ROOT_LITE_WORKLOAD`| The SPIFFE trust root used for lite workload instances. Can be a single entry, or a comma-delimited list of suitable trust roots. |`"spike.ist"`|
64
67
| All |`SPIKE_BANNER_ENABLED`| Whether to display the SPIKE banner on startup. Set to `true` to enable. |`true`|
65
68
| All |`SPIFFE_ENDPOINT_SOCKET`| The Unix domain socket path used for SPIFFE Workload API |`"unix:///tmp/spire-agent/public/api.sock"`|
66
69
70
+
67
71
### Error Handling Strategy
68
72
-`panic()` for "should never happen" errors (testable)
69
73
-`os.Exit(1)` should NEVER happen (panic instead; it is testable)
0 commit comments