diff --git a/api/openapi-spec.yaml b/api/openapi-spec.yaml index e4a29e5..e25bacc 100644 --- a/api/openapi-spec.yaml +++ b/api/openapi-spec.yaml @@ -1263,7 +1263,7 @@ paths: type: string - name: annotation_key in: query - description: "Annotation key to match. Supports * wildcard (e.g. example.com/*)" + description: "Annotation key to match. Supports * wildcard (e.g. mycompany.com/*)" schema: type: string - name: annotation_value diff --git a/backend/database/neo4j.py b/backend/database/neo4j.py index 092f0e8..c5c70d0 100644 --- a/backend/database/neo4j.py +++ b/backend/database/neo4j.py @@ -823,7 +823,7 @@ class Neo4jService: both nodes and edges by matching the VID prefix. VID Format: {analysis_id}:{cluster_id}:{namespace}:{workload} - Example: "26:1:prod-payments:payments-pod-xyz" + Example: "26:1:prod-cardapi:cardapi-pod-xyz" Deletion is done by: 1. Matching all nodes where n.id STARTS WITH '{analysis_id}:' diff --git a/backend/routers/communications.py b/backend/routers/communications.py index bd16a08..4d515fc 100644 --- a/backend/routers/communications.py +++ b/backend/routers/communications.py @@ -1360,7 +1360,7 @@ async def find_pod_dependencies( owner_name: Optional[str] = Query(None, description="Deployment/StatefulSet/DaemonSet name to search"), label_key: Optional[str] = Query(None, description="Label key to match"), label_value: Optional[str] = Query(None, description="Label value to match"), - annotation_key: Optional[str] = Query(None, description="Annotation key to match (supports * wildcard, e.g. example.com/*)"), + annotation_key: Optional[str] = Query(None, description="Annotation key to match (supports * wildcard, e.g. mycompany.com/*)"), annotation_value: Optional[str] = Query(None, description="Annotation value to match (supports * wildcard: * for any, prefix* for startsWith)"), ip: Optional[str] = Query(None, description="Pod IP to search"), depth: int = Query(1, ge=1, le=5, description="Traversal depth"), diff --git a/backend/routers/simulation.py b/backend/routers/simulation.py index 3ee760b..dff9261 100644 --- a/backend/routers/simulation.py +++ b/backend/routers/simulation.py @@ -344,7 +344,7 @@ def classify_endpoint_kind(name: str, namespace: str, original_kind: str) -> str Returns: - "Pod" for actual Kubernetes pods (e.g., backend-7686dccc6b-x8bqm) - "Service" for Kubernetes services - - "ExternalIP" for external IP addresses (10.x.x.x, 192.168.x.x) + - "ExternalIP" for external IP addresses (10.180.x.x, 192.168.x.x) - "ClusterIP" for cluster-internal IPs (10.128.x.x, 10.129.x.x, 10.130.x.x, 10.131.x.x) - "ExternalDNS" for external DNS names (*.bank, api.*, etc.) - "ClusterService" for internal cluster services (*.svc.cluster.local) @@ -607,7 +607,7 @@ def deduplicate_services(services: list) -> list: """Extract the base service name for deduplication""" import re - # Handle DNS-style names like 10-128-22-163.harbor-core.prod-registry.svc.cluster.local + # Handle DNS-style names like 10-128-22-163.harbor-core.prod-harbor-ha.svc.cluster.local if '.svc.cluster.local' in name: parts = name.split('.') if len(parts) >= 2: diff --git a/deployment/manual-rbac/README.md b/deployment/manual-rbac/README.md index 9e8a079..c108e96 100644 --- a/deployment/manual-rbac/README.md +++ b/deployment/manual-rbac/README.md @@ -23,7 +23,7 @@ Bu dizindeki RBAC kaynakları **cluster admin** tarafından manuel olarak uygula NS=flowfish # Tüm RBAC'ı uygula -cat <<'EOF' | sed "s/flowfish/$NS/g" | oc apply -f - +cat <<'EOF' | sed "s/namespace: flowfish/namespace: $NS/g" | oc apply -f - # ============================================ # 1. Inspektor Gadget ClusterRole # ============================================ diff --git a/deployment/manual-rbac/flowfish-cluster-rbac.yaml b/deployment/manual-rbac/flowfish-cluster-rbac.yaml index 7c71696..49a77ed 100644 --- a/deployment/manual-rbac/flowfish-cluster-rbac.yaml +++ b/deployment/manual-rbac/flowfish-cluster-rbac.yaml @@ -1,10 +1,10 @@ # Flowfish Cluster RBAC -# Cross-namespace permissions required for kubectl-gadget +# kubectl-gadget için gerekli cross-namespace izinler # -# Usage: +# Uygulama: # oc apply -f flowfish-cluster-rbac.yaml # -# Replace NAMESPACE with your target namespace +# NAMESPACE değişkenini kendi namespace'inizle değiştirin --- apiVersion: rbac.authorization.k8s.io/v1 diff --git a/frontend/src/pages/IntegrationHub.tsx b/frontend/src/pages/IntegrationHub.tsx index 3f32e8d..bca9dfd 100644 --- a/frontend/src/pages/IntegrationHub.tsx +++ b/frontend/src/pages/IntegrationHub.tsx @@ -484,9 +484,9 @@ const IntegrationHub: React.FC = () => {