refactor: Refactor Kubernetes client and CryptPad installer

- Replace kubectl exec calls with Kubernetes client methods
- Improve error handling and logging in Kubernetes client
- Enhance node information retrieval and parsing
- Add comprehensive unit tests for Kubernetes client and Node structs
- Refine YAML validation to allow custom resource definitions
- Update CryptPad installer to use the refactored Kubernetes client
This commit is contained in:
Mahmoud-Emad
2025-10-30 17:58:03 +03:00
parent 82d37374d8
commit 80108d4b36
10 changed files with 817 additions and 74 deletions

View File

@@ -2,7 +2,6 @@ module zinit
import incubaid.herolib.core.base
import incubaid.herolib.core.playbook { PlayBook }
import incubaid.herolib.ui.console
import json
__global (

View File

@@ -1,8 +1,6 @@
module zinit
import incubaid.herolib.data.encoderhero
import incubaid.herolib.schemas.jsonrpc
import os
pub const version = '0.0.0'
const singleton = true