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
861f266c4e
Merge pull request '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' ( #36 ) from feat/lampOKD into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/36
2025-05-14 15:48:56 +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
c2d1cb9b76
Merge pull request 'upgrade stack size from default 1MB on windows (k3d stack overflow otherwise)' ( #34 ) from windows-stack-size-increase into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/34
Reviewed-by: johnride <jg@nationtech.io>
2025-05-14 14:29:51 +00:00
tahahawa
c84a02c8ec
upgrade stack size from default 1MB on windows (k3d stack overflow otherwise)
2025-05-11 22:39:23 -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
e5ddd296db
Merge pull request 'feat: add cert-manager module and helm repo support' ( #31 ) from feat/awsOKD into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/31
2025-05-06 16:39:19 +00: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
78e9893341
Merge pull request 'feat: started to prepare inventory / topoplogy for NCD' ( #1 ) from feat/settingUpNDC into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/1
2025-05-06 16:38:40 +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
8a199b64f5
feat: Upgrade opnsense-config crates to be compatible with opnsense 25.1_5
2025-05-06 11:45:19 -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
764fd6d451
Merge pull request 'chore: added default mariadb size and pass env variables to php app' ( #28 ) from lamp-env-vars into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/28
Reviewed-by: johnride <jg@nationtech.io>
2025-05-03 00:20:47 +00:00
78fffcd725
fix: specified 2Gi db size from LAMPconfig
2025-05-02 15:07:39 -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
d8e8a49745
Merge pull request 'feat:php program to fill pvc and report database usage' ( #29 ) from pvc-filler into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/29
2025-05-02 16:06:46 +00:00
a7ba9be486
feat:php program to fill pvc and report database usage
2025-05-02 12:03:18 -04:00
1c3669cb47
chore: added default mariadb size and pass env variables to php app
2025-05-02 11:56:27 -04:00
90b80b24bc
Merge pull request 'feat: push docker image to registry and deploy with full tag' ( #27 ) from feat/lampDatabase into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/27
Reviewed-by: wjro <wrolleman@nationtech.io>
2025-05-01 17:39:23 +00:00
c879ca143f
feat: Add comments explaining a bit of what harmony does in the lamp demo
2025-04-30 23:36:12 -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
28978299c9
Merge pull request 'feat: add mariadb helm deployment to lamp interpreter' ( #26 ) from feat/lampDatabase into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/26
Reviewed-by: wjro <wrolleman@nationtech.io>
2025-04-30 20:03:13 +00: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
6c145f1100
wip: initial layout
2025-04-28 16:31:22 -04:00
40cd765019
WIP: initial layout for MonitoringStackScore
2025-04-28 16:18:44 -04:00
db9c8d83e6
update adr
2025-04-28 15:09:11 -04:00
20551b4a80
adr for monitoring and alerting
2025-04-28 14:11:44 -04:00
5c026ae6dd
chore: improved error message for helm unavailable
2025-04-28 10:11:57 -04:00
76c0cacc1b
Merge pull request 'feat: LampScore implement dockerfile generation and image building' ( #22 ) from feat/lampDocker into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/22
Reviewed-by: wjro <wrolleman@nationtech.io>
2025-04-27 19:56:29 +00:00
f17948397f
feat: escape PHP_ERROR_REPORTING value in Dockerfile
...
Escapes the value of the PHP_ERROR_REPORTING environment variable in the Dockerfile to prevent potential issues with shell interpretation. Uses EnvBuilder for a more structured approach.
2025-04-27 15:55:12 -04:00
16a665241e
feat: LampScore implement dockerfile generation and image building
...
- Added `build_dockerfile` function to generate a Dockerfile based on the LAMP stack for the given project.
- Implemented `build_docker_image` to execute the docker build command and create the image.
- Configured user and permissions for apache.
- Included necessary apache configuration for security.
- Added error handling for docker build failures.
- Exposed port 80 for external access.
- Added basic serialization to Config struct.
2025-04-25 14:34:57 -04:00
065e3904b8
Merge pull request 'fix(k8s_anywhere): Ensure k3d cluster is started before use' ( #21 ) from feat/k3d into master
...
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/21
Reviewed-by: wjro <wrolleman@nationtech.io>
Reviewed-by: taha <taha@noreply.git.nationtech.io>
2025-04-25 16:46:28 +00:00