b33650e9d5
fix: cargo fmt
2025-06-04 15:52:31 -04:00
ea4709a409
fix:binding with the ensure_ready impementation of K8sAnywhe
2025-06-04 15:47:48 -04:00
cd40660350
fix: Ensure idempotent deployment of Discord adapters
...
Updates to use for managing
Discord webhook adapter deployments. This prevents redundant installations
by ensuring that the deployment interpret for a given adapter
configuration is executed only once.
The internal state now uses a keyed by the alertreceiver ID to
track and initialize each receiver's .
2025-06-03 16:07:11 -04:00
2ca732cecd
feat: added the steps to install discord-webhook-receiver for k8s anywhere topology if not already installed
2025-06-03 14:14:41 -04:00
12eb4ae31f
fix: cargo fmt
2025-06-02 16:20:49 -04:00
a2be9457b9
wip: removed AlertReceiverConfig
2025-06-02 16:11:36 -04:00
0d56fbc09d
wip: applied comments in pr, changed naming of AlertChannel to AlertReceiver and added rust doc to Monitor for clarity
2025-06-02 14:44:43 -04:00
56dc1e93c1
fix: modified files in mod
2025-06-02 11:47:21 -04:00
691540fe64
wip: modified initial monitoring architecture based on pr review
2025-06-02 11:42:37 -04:00
7e3f1b1830
fix:cargo fmt
2025-05-30 13:59:29 -04:00
b631e8ccbb
feat: Initial setup for monitoring and alerting
2025-05-30 13:21:38 -04:00
27f1a9dbdd
feat: add more to the tenantmanager k8s impl ( #46 )
...
Co-authored-by: Willem <wrolleman@nationtech.io>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/46
Co-authored-by: Taha Hawa <taha@taha.dev>
Co-committed-by: Taha Hawa <taha@taha.dev>
2025-05-29 20:15:38 +00:00
7cd541bdd8
chore: Fix pr comments, remove many YAGNI things
2025-05-29 11:47:25 -04:00
bf16566b4e
wip: Clean up some unnecessary bits in the Tenant module and move manager to its own file
2025-05-29 07:25:45 -04:00
895fb02f4e
feat: Add initial Tenant traits and data structures
2025-05-28 22:33:46 -04:00
5aa9dc701f
fix: Removed forgotten refactoring bits and formatting
2025-05-28 15:19:39 -04:00
76ae5eb747
fix: make HelmRepository public ( #39 )
...
Co-authored-by: tahahawa <tahahawa@gmail.com>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/39
Reviewed-by: johnride <jg@nationtech.io>
2025-05-22 20:07:42 +00:00
e1a8ee1c15
feat: send alerts to multiple alert channels
2025-05-22 14:16:41 -04:00
44b2b092a8
feat:added Slack notifications support
2025-05-21 15:29:14 -04:00
2b6d2e8606
fix:merge confict
2025-05-20 16:05:38 -04:00
e80752ea3f
feat: install discord alert manager helm chart when Discord is the chosen alerting channel
2025-05-20 15:51:03 -04:00
bae7222d64
Our own Helm Command/Resource/Executor (WIP) ( #13 )
...
Co-authored-by: tahahawa <tahahawa@gmail.com>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/13
Co-authored-by: Taha Hawa <taha@taha.dev>
Co-committed-by: Taha Hawa <taha@taha.dev>
2025-05-20 14:01:10 +00:00
f7d3da3ac9
fix merge conflict
2025-05-15 15:31:26 -04:00
eb8a8a2e04
chore: modified build config to be able to pass namespace to the config
2025-05-15 15:19:40 -04:00
b4c6848433
feat: added default monitoringStackScore implementation
2025-05-15 14:52:04 -04:00
0d94c537a0
feat: add ingress score ( #32 )
...
Co-authored-by: tahahawa <tahahawa@gmail.com>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/32
Reviewed-by: wjro <wrolleman@nationtech.io>
2025-05-15 16:11:40 +00:00
51724d0e55
feat: LAMP stack and Monitoring stack now work on OKD, we just have to manually set a few serviceaccounts to privileged scc until we find a better solution
2025-05-14 11:47:39 -04:00
8d3d167848
fix: Remove todo statements for lamp score and k8s related features that are now complete!
2025-05-06 14:46:57 -04:00
94f6cc6942
fix: kube_prometheus missing new field repo in HelmChartScore
2025-05-06 13:57:58 -04:00
4a9b95acad
Merge pull request 'monitoring-alerting' ( #30 ) from monitoring-alerting into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/30
2025-05-06 17:50:56 +00:00
ef9c1cce77
fix:yaml structure
2025-05-06 13:42:59 -04:00
df65ac3439
formatting: Fix format of load_balancer.rs
2025-05-06 13:38:21 -04:00
4be008556e
feat: add cert-manager module and helm repo support
...
- Implemented a new `cert-manager` module for deploying cert-manager.
- Added support for specifying a Helm repository in module configurations.
- Introduced `cert_manager` module in `modules/mod.rs`.
- Created `src/modules/cert_manager` directory and its associated code.
- Implemented `add_repo` function in `src/modules/helm.rs` for adding Helm repositories.
- Updated `LAMPInterpret` and `lamp.rs` to integrate the new module.
- Added logging for Helm command execution.
- Updated k8s deployment file to remove unused DeepMerge dependency.
2025-05-06 16:38:57 +00:00
d9921b857b
fix:installs helm chart
2025-05-06 12:23:03 -04:00
e62ef001ed
fix: Fix opnsense test, Host.tll now optional and run cargo fmt
2025-05-06 12:00:56 -04:00
1fb7132c64
Merge branch 'master' into feat/settingUpNDC
2025-05-06 11:58:12 -04:00
2d74c66fc6
wip: trying to get the kube-prometheus score to install
2025-05-06 11:54:10 -04:00
b7fe62fcbb
feat: ncd0 example complete. Missing files for authentication, ignition etc are accessible upon deman. This is yet another great step towards full UPI automated provisionning
2025-05-06 11:44:40 -04:00
cd8542258c
Merge remote-tracking branch 'origin/master' into monitoring-alerting
2025-05-06 10:03:27 -04:00
472a3c1051
fix: correctly pass namespace and monitoring stack to topology so it can be used to init the maestro and exec the score
2025-05-06 10:02:21 -04:00
88270ece61
fix: refactor so that the topology installs the MonitoringAlertingStack depending on if it is already present in the cluster
2025-05-05 16:37:15 -04:00
e7cfbf914a
feat: added basic alert for pvc 95% full to kube-prometheus score
2025-05-05 15:38:37 -04:00
fbd466a85c
added file
2025-05-05 13:40:32 -04:00
2f8e150f41
feat: added Score and topology to create kube prometheus monitoring and alerting stack
2025-05-05 12:49:28 -04:00
e1133ea114
use default database_size None in LampConfig to default to value from helm chart
2025-05-02 15:02:50 -04:00
1c3669cb47
chore: added default mariadb size and pass env variables to php app
2025-05-02 11:56:27 -04:00
bc2bd2f2f4
feat: push docker image to registry and deploy with full tag
...
- Added functionality to tag and push the built Docker image to a specified registry.
- Modified deployment score to use the full image tag (including registry and project).
- Included error handling and logging for the `docker tag` and `docker push` commands.
- Updated the `K8sDeploymentScore` struct to include a namespace field and environment variables for database credentials.
- Added kebab-case conversion for deployment name and namespace.
- Implemented a check_output function for better error reporting.
2025-04-30 22:33:31 -04:00
87f6afc249
feat: add mariadb helm deployment to lamp interpreter
...
- Adds a `deploy_database` function to the `LAMPInterpret` struct to deploy a MariaDB database using Helm.
- Integrates `HelmCommand` trait requirement to the `LAMPInterpret` struct.
- Introduces `HelmChartScore` to manage MariaDB deployment.
- Adds namespace configuration for helm deployments.
- Updates trait bounds for `LAMPInterpret` to include `HelmCommand`.
- Implements `get_namespace` function to retrieve the namespace.
2025-04-30 15:40:26 -04:00
254f392cb5
feat(HelmScore): Add values yaml option to helm chart score ( #23 )
...
Co-authored-by: tahahawa <tahahawa@gmail.com>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/23
2025-04-29 16:09:04 +00:00
a6bcaade46
wip: alerting
2025-04-29 11:28:32 -04:00