johnride
  • Joined on 2024-02-06
johnride pushed to feat/rebuild_inventory at NationTech/harmony 2025-11-11 03:14:49 +00:00
3276c08775 feat(inventory-agent): Discover algorithm by scanning a subnet of ips, slower than mdns but more reliable and versatile
johnride released Latest Snapshot at NationTech/harmony 2025-11-09 16:15:57 +00:00
johnride pushed to feat/cluster_monitoring at NationTech/harmony 2025-11-05 22:02:17 +00:00
759a9287d3 Merge remote-tracking branch 'origin/master' into feat/cluster_monitoring
24922321b1 fix: webhook name must be k8s field compliant, add a FIXME note
4ff57062ae Merge pull request 'feat(kube): Convert kube_openapi Resource to DynamicObject' (#180) from feat/kube_convert_dynamic_resource into master
50ce54ea66 Merge pull request 'fix(opnsense-config): mark Interface::enable as optional' (#181) from fix-opnsense-config into master
827a49e56b fix(opnsense-config): mark Interface::enable as optional
Compare 6 commits »
johnride deleted branch feat/kube_convert_dynamic_resource from NationTech/harmony 2025-11-05 21:48:44 +00:00
johnride pushed to master at NationTech/harmony 2025-11-05 21:48:34 +00:00
4ff57062ae Merge pull request 'feat(kube): Convert kube_openapi Resource to DynamicObject' (#180) from feat/kube_convert_dynamic_resource into master
95cfc03518 feat(kube): Utility function to convert kube_openapi Resource to DynamicObject. This will allow initializing resources strongly typed and then bundle various types into a list of DynamicObject
Compare 2 commits »
johnride merged pull request NationTech/harmony#180 2025-11-05 21:48:33 +00:00
feat(kube): Convert kube_openapi Resource to DynamicObject
johnride commented on pull request NationTech/harmony#180 2025-11-05 21:48:21 +00:00
feat(kube): Convert kube_openapi Resource to DynamicObject

I am merging, we can continue the conversation later.

johnride commented on pull request NationTech/harmony#180 2025-11-05 21:46:23 +00:00
feat(kube): Convert kube_openapi Resource to DynamicObject

It does not validate "this" directly, it just validates that the serde Serialize implementation returns equal values for original and dynamic. For all we know they could be empty. I want to make…

johnride commented on pull request NationTech/harmony#180 2025-11-05 21:44:43 +00:00
feat(kube): Convert kube_openapi Resource to DynamicObject

I know it looks this way but I feel more comfortable having them in.

We're completely dependent on the serialized values for the "real" assertion above and I've often seen cases where the value…

johnride approved NationTech/harmony#185 2025-11-05 21:33:33 +00:00
fix(host_network): skip configuration for host with only 1 interface/port

Looks pretty straightforward 👍

johnride commented on pull request NationTech/harmony#183 2025-11-05 21:31:47 +00:00
refactor(host_network): extract NetworkManager as a reusable component

Very nice demo gif !

johnride approved NationTech/harmony#183 2025-11-05 21:30:24 +00:00
refactor(host_network): extract NetworkManager as a reusable component

Overall LGTM, a few considerations here and there but nothing major.

johnride commented on pull request NationTech/harmony#183 2025-11-05 21:30:24 +00:00
refactor(host_network): extract NetworkManager as a reusable component

url::parse can fail at runtime, would hurl! work here?

johnride commented on pull request NationTech/harmony#183 2025-11-05 21:30:24 +00:00
refactor(host_network): extract NetworkManager as a reusable component

Why is this function and logic in ha_cluster instead of network manager?

johnride commented on pull request NationTech/harmony#183 2025-11-05 21:30:24 +00:00
refactor(host_network): extract NetworkManager as a reusable component

I guess this is required because the operator from the catalog does not work?

johnride commented on pull request NationTech/harmony#183 2025-11-05 21:30:24 +00:00
refactor(host_network): extract NetworkManager as a reusable component

I really don't like the boilerplate added by having multiple error types for each bit of business logic.

johnride commented on pull request NationTech/harmony#183 2025-11-05 21:30:23 +00:00
refactor(host_network): extract NetworkManager as a reusable component

Why OnceLock instead of Oncecell or something else? I'm not familiar with it. I guess it takes a read lock when accessed after initialization?

johnride commented on pull request NationTech/harmony#182 2025-11-05 20:48:28 +00:00
fix(host_network): retrieve proper hostname and next available bond id

Rust is so beautiful. Type K infered from return type, completely transparent, super powerful, super readable, super intuitive.

johnride approved NationTech/harmony#182 2025-11-05 20:48:28 +00:00
fix(host_network): retrieve proper hostname and next available bond id

LGTM, just make sure the bond checking logic is correct.

johnride commented on pull request NationTech/harmony#182 2025-11-05 20:48:28 +00:00
fix(host_network): retrieve proper hostname and next available bond id

Why type Bond AND link_aggregation ?