feat(k8s): add Kubernetes deployment resource handling

Introduce new modules to handle Kubernetes resources specifically focusing on Deployment resources. Added `K8sResource` and `K8sDeployment` structs along with necessary traits implementations for interpretation and execution in the inventory system. Also, fixed module reordering issues in opnsense-config-xml and corrected some fields types within its data structures.
This commit is contained in:
2025-01-24 10:44:27 -05:00
parent caec71f06d
commit d6c8650d52
14 changed files with 245 additions and 53 deletions

4
harmony-rs/Cargo.lock generated
View File

@@ -931,6 +931,9 @@ dependencies = [
"env_logger",
"harmony_macros",
"harmony_types",
"http 1.2.0",
"k8s-openapi",
"kube",
"libredfish",
"log",
"opnsense-config",
@@ -941,6 +944,7 @@ dependencies = [
"semver",
"serde",
"serde_json",
"serde_yaml",
"tokio",
"url",
"uuid",