Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

2.2 KiB

API Reference: Securing Kubernetes on Cloud

kubernetes Python Client

Installation

pip install kubernetes

Configuration

from kubernetes import client, config
config.load_kube_config(context="my-cluster")

Core API (v1)

v1 = client.CoreV1Api()
Method Description
list_namespace() List all namespaces with labels
list_pod_for_all_namespaces() List all pods across namespaces
read_namespaced_service_account() Get service account details
create_namespace() Create namespace with PSA labels

RBAC API

rbac = client.RbacAuthorizationV1Api()
Method Description
list_cluster_role_binding() List all ClusterRoleBindings
list_cluster_role() List all ClusterRoles
list_namespaced_role_binding() List RoleBindings in a namespace
list_namespaced_role() List Roles in a namespace

Networking API

net = client.NetworkingV1Api()
Method Description
list_namespaced_network_policy() List network policies in a namespace
create_namespaced_network_policy() Create a network policy

Pod Security Context Fields

Field Description
privileged Run container in privileged mode
run_as_user UID to run the container as
run_as_non_root Require non-root UID
read_only_root_filesystem Mount root filesystem as read-only
allow_privilege_escalation Allow setuid/capabilities
capabilities.drop Linux capabilities to drop
seccomp_profile.type Seccomp profile (RuntimeDefault)

Pod Security Admission Labels

Label Values
pod-security.kubernetes.io/enforce privileged, baseline, restricted
pod-security.kubernetes.io/audit privileged, baseline, restricted
pod-security.kubernetes.io/warn privileged, baseline, restricted

References