Initial commit: VaultMesh Skills collection
Collection of operational skills for VaultMesh infrastructure including: - backup-sovereign: Backup and recovery operations - btc-anchor: Bitcoin anchoring - cloudflare-tunnel-manager: Cloudflare tunnel management - container-registry: Container registry operations - disaster-recovery: Disaster recovery procedures - dns-sovereign: DNS management - eth-anchor: Ethereum anchoring - gitea-bootstrap: Gitea setup and configuration - hetzner-bootstrap: Hetzner server provisioning - merkle-forest: Merkle tree operations - node-hardening: Node security hardening - operator-bootstrap: Operator initialization - proof-verifier: Cryptographic proof verification - rfc3161-anchor: RFC3161 timestamping - secrets-vault: Secrets management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
14
operator-bootstrap/checks/check_gitops.sh
Executable file
14
operator-bootstrap/checks/check_gitops.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Check: GitOps repositories exist
|
||||
# Returns 0 if all repos exist, 1 otherwise
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
: "${GITOPS_ROOT:=$HOME/infrastructure}"
|
||||
|
||||
# Expand ~
|
||||
GITOPS_ROOT="${GITOPS_ROOT/#\~/$HOME}"
|
||||
|
||||
[[ -d "$GITOPS_ROOT/config.git" ]] && \
|
||||
[[ -d "$GITOPS_ROOT/secrets.git" ]] && \
|
||||
[[ -d "$GITOPS_ROOT/manifests.git" ]]
|
||||
13
operator-bootstrap/checks/check_gpg.sh
Executable file
13
operator-bootstrap/checks/check_gpg.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
# Check: GPG key exists for operator
|
||||
# Returns 0 if GPG key found, 1 otherwise
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
: "${OPERATOR_EMAIL:=}"
|
||||
|
||||
if [[ -z "$OPERATOR_EMAIL" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
gpg --list-keys "$OPERATOR_EMAIL" &>/dev/null
|
||||
7
operator-bootstrap/checks/check_pass.sh
Executable file
7
operator-bootstrap/checks/check_pass.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Check: Pass store initialized
|
||||
# Returns 0 if pass store exists, 1 otherwise
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
[[ -d "$HOME/.password-store" ]] && [[ -f "$HOME/.password-store/.gpg-id" ]]
|
||||
9
operator-bootstrap/checks/check_ssh.sh
Executable file
9
operator-bootstrap/checks/check_ssh.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
# Check: SSH keys exist for node
|
||||
# Returns 0 if SSH keys found, 1 otherwise
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
: "${NODE_NAME:=node-a}"
|
||||
|
||||
[[ -f "$HOME/.ssh/id_ed25519_${NODE_NAME}" ]]
|
||||
10
operator-bootstrap/checks/check_tunnel.sh
Executable file
10
operator-bootstrap/checks/check_tunnel.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Check: Cloudflare tunnel configured
|
||||
# Returns 0 if tunnel credentials exist, 1 otherwise
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
: "${NODE_NAME:=node-a}"
|
||||
: "${TUNNEL_NAME:=$NODE_NAME-tunnel}"
|
||||
|
||||
[[ -f "$HOME/.cloudflared/${TUNNEL_NAME}.json" ]]
|
||||
Reference in New Issue
Block a user