Commit Graph

439 Commits

Author SHA1 Message Date
Simon Larsen
4acedfdd62
Update nginx.yaml and values.yaml for hosting OneUptime and status page on different ports 2024-06-24 19:42:46 +01:00
Simon Larsen
fe0e745640
refactor: Update TLS/SSL certificate setup instructions 2024-06-21 17:39:05 +01:00
Simon Larsen
bc78491478
```text
refactor: Add appname label to probe.yaml

This commit adds the "appname" label to the probe.yaml file in order to provide additional information about the application. This label will help with identifying the specific application when managing and monitoring the Kubernetes resources.
2024-06-19 11:14:33 +01:00
Simon Larsen
20db81a5f6
refactor: Update secrets.yaml to add keys for postgres, redis, and clickhouse
This commit modifies the secrets.yaml file to add keys for postgres, redis, and clickhouse. These keys are used to store sensitive information such as passwords for external services. By including these keys, we ensure that the necessary secrets are available for the application to connect to these services securely.
2024-06-18 13:59:49 +01:00
Simon Larsen
7fc192e466
refactor: Quote the value of ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN in _helpers.tpl
The value of ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN in _helpers.tpl has been updated to be quoted using the | quote filter. This change ensures that the value is treated as a string, improving consistency and compatibility with other parts of the codebase.
2024-06-11 16:24:55 +01:00
Simon Larsen
d2a1385123
refactor: Update ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN to 10
The ALLOWED_ACTIVE_MONITOR_COUNT_IN_FREE_PLAN constant has been updated to 10 in multiple files. This change aligns the codebase with the new limit for active monitors allowed in the free plan.
2024-06-11 13:50:55 +01:00
Simon Larsen
463bb32872
refactor: Enable cleanup and e2e cron jobs for development purposes
This code change updates the values.yaml file in the HelmChart/Public/oneuptime directory. It enables the cleanup and e2e cron jobs for development purposes. Please note that these cron jobs should not be enabled in production environments. This change allows for easier testing and debugging during development.
2024-06-09 12:48:42 +01:00
Simon Larsen
b1dba73842
refactor: Update external database configuration in HelmChart
This code change updates the external database configuration in the HelmChart. It adds support for using an existing secret for the password instead of directly specifying the password. This modification enhances security and allows for easier management of the database credentials.
2024-06-07 10:11:27 +01:00
Simon Larsen
babbf5f8a6
refactor: Update external database configuration in HelmChart 2024-06-07 10:10:55 +01:00
Simon Larsen
39c7da79ab
refactor: Update external database configuration in HelmChart
This code change updates the external database configuration in the HelmChart. It adds support for using an existing secret for the password instead of directly specifying the password. This modification enhances security and allows for easier management of the database credentials.
2024-06-07 10:10:00 +01:00
Simon Larsen
05e2e22e1d
refactor: Update DATABASE_USERNAME value in _helpers.tpl
This code change updates the value of DATABASE_USERNAME in the _helpers.tpl file. The value is changed to "postgres" when the postgresql.enabled flag is true, and to the value of $.Values.externalPostgres.username when the flag is false. This modification ensures that the correct username is used for the database connection.
2024-06-06 21:19:19 +01:00
Simon Larsen
9054c49b3e
refactor: Update Kubernetes secret retrieval commands
The code changes update the commands used to retrieve secrets from Kubernetes. The previous commands were using the deprecated `go-template` option, which has been replaced with the `jsonpath` option. This refactor ensures that the correct commands are used to retrieve the secrets, improving the reliability and maintainability of the code.
2024-06-06 18:36:05 +01:00
Simon Larsen
2605140166
refactor: Update DATABASE_USERNAME value in _helpers.tpl
This code change updates the value of DATABASE_USERNAME in the _helpers.tpl file. The value is changed to "postgres" when the postgresql.enabled flag is true, and to the value of $.Values.externalPostgres.username when the flag is false. This modification ensures that the correct username is used for the database connection.
2024-06-05 19:03:49 +01:00
Simon Larsen
14da201c8d
refactor: Remove unused PostgresConfig file and update PostgresDatabase imports 2024-06-05 17:26:48 +01:00
Simon Larsen
fb83126f37
Update Postgres password retrieval in Helm chart documentation 2024-06-05 12:27:31 +01:00
Simon Larsen
964def0c45
refactor: Disable ClickHouse when not enabled in values.yaml 2024-06-05 12:16:40 +01:00
Simon Larsen
650d7cc939
refactor: Add support for HTTPS in ClickHouse configuration 2024-06-05 11:42:01 +01:00
Simon Larsen
bfb4c46bd0
refactor: Update ClickHouse configuration to support HTTPS
This code change updates the ClickHouse configuration to support HTTPS. It introduces a new environment variable, `ClickHouseIsHostHttps`, which is set to `true` in the `EnvironmentConfig.ts` file. The `ClickhouseConfig.ts` file is modified to conditionally set the host protocol to `https` based on the value of `ClickHouseIsHostHttps`. This enhancement allows users to easily configure ClickHouse to use HTTPS when connecting to the host.
2024-06-05 11:41:39 +01:00
Simon Larsen
149c8c763d
refactor: Remove empty line in values.yaml 2024-06-05 10:57:57 +01:00
Simon Larsen
fdbcace48c
refactor: Update ClickHouse TLS configuration to use "tls" instead of "ssl" in values.yaml 2024-06-05 10:53:47 +01:00
Simon Larsen
3cfe0517a8
refactor: Update ClickHouse environment variables 2024-06-05 10:53:05 +01:00
Simon Larsen
9a32a47146
refactor: Update Redis and ClickHouse TLS configuration
This code change updates the Redis and ClickHouse TLS configuration to support the new `RedisTlsCert`, `RedisTlsKey`, `ClickhouseTlsCert`, and `ClickhouseTlsKey` environment variables. It modifies the `Redis.ts` and `ClickhouseConfig.ts` files to conditionally set the TLS options based on the presence of these variables. This enhancement allows users to easily enable TLS for Redis and ClickHouse by providing the necessary certificate and key files.
2024-06-05 10:49:01 +01:00
Simon Larsen
fd83a71a56
refactor: Enable Redis and ClickHouse in Helm chart
This code change enables Redis and ClickHouse in the Helm chart by setting the `enabled` flag to `true` for both services in the `values.yaml` file. This enhancement allows users to utilize Redis and ClickHouse functionalities when deploying the Helm chart.
2024-06-05 10:08:11 +01:00
Simon Larsen
e9bdbb3414
refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. It adds the necessary environment variables and secrets blocks to handle the external Postgres database configuration. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-05 10:05:45 +01:00
Simon Larsen
3b65d1f4d6
refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. It adds the `applicationName` property to the `dataSourceOptions` object in `PostgresConfig.ts` to set the application name to 'oneuptime'. Additionally, it adds new blocks in `secrets.yaml` to handle secrets for the external Postgres database, including the password and SSL options. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-05 09:28:10 +01:00
Simon Larsen
ed0f92f480
refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. The `DATABASE_NAME` environment variable is renamed from `DATABASE_DATABASE` to improve clarity. Additionally, a new block for configuring SSL options for the external Postgres database is added. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-04 22:51:53 +01:00
Simon Larsen
6cc0f9deaf
refactor: Update Postgres configuration in Helm chart
This code change updates the Postgres configuration in the Helm chart to support both internal and external Postgres databases. The `DATABASE_HOST`, `DATABASE_PORT`, `DATABASE_USERNAME`, `DATABASE_PASSWORD`, and `DATABASE_DATABASE` environment variables are now conditionally set based on the `postgresql.enabled` flag in the `values.yaml` file. If `postgresql.enabled` is `true`, the values are set to the internal Postgres service details. Otherwise, they are set to the corresponding values from the `externalPostgres` configuration. This enhancement allows users to easily switch between using an internal or external Postgres database when deploying the Helm chart.
2024-06-04 21:44:17 +01:00
Simon Larsen
06be3d2f58
```text
refactor: Enable external Postgres support in Helm chart

This code change modifies the Helm chart to enable support for using an external Postgres database. The `postgresql.enabled` flag in the `values.yaml` file is set to `true` to indicate that an external Postgres database will be used. This enhancement allows users to configure the Helm chart to connect to an existing Postgres database instead of deploying a new one.
2024-06-04 21:42:17 +01:00
Simon Larsen
073f84fe00
refactor: Update secrets.yaml to dynamically generate probe secrets
This code change updates the secrets.yaml file to dynamically generate probe secrets based on the values provided in the $.Values.probes object. If a probe secret already exists, it is used. Otherwise, a new random 32-character alphanumeric string is generated and encoded. This improvement ensures that probe secrets are properly managed and provides better security for sensitive information.
2024-06-03 23:46:04 +01:00
Simon Larsen
ad7a5bddcb
remove dup service 2024-05-31 19:01:29 +01:00
Simon Larsen
68724478da
chore: Update HelmChart values.yaml to use ClusterIP for internalSmtp type
This code change updates the HelmChart values.yaml file to change the type of the internalSmtp service from LoadBalancer to ClusterIP. The LoadBalancer type was causing issues with receiving emails from the internet, so this change provides a workaround by using the ClusterIP type instead. This update ensures that the internalSmtp service can properly receive emails and improves the functionality of the application.
2024-05-30 20:34:14 +01:00
Simon Larsen
ca621bf41c
feat: Add support for additional email ports
This code change adds support for additional email ports in the Haraka configuration. It exposes ports 110, 25, 587, 465, 143, 993, and 995 for POP3, SMTP, IMAP, and their secure variants. This enhancement allows for more flexible email communication options.
2024-05-30 20:30:44 +01:00
Simon Larsen
fee16520df
change default log level 2024-05-30 19:35:22 +01:00
Simon Larsen
89a3d3a6ac
refactor: Update secrets.yaml to handle release upgrades
This code change updates the secrets.yaml file to handle release upgrades. It introduces a workaround to keep the secrets unchanged during upgrades by retrieving the existing secrets if the release is an upgrade. For new installations, it generates new secrets using the randAlphaNum function. This enhancement ensures that secrets are properly managed during upgrades and installations.
2024-05-30 10:43:25 +01:00
Simon Larsen
d34a493724
feat: Add timeout configuration for monitor scripts
The commit updates the README.md file to include new configurable parameters for timeout values in the monitor scripts. This allows users to set specific timeout values for synthetic monitor scripts, custom code monitor scripts, and workflow scripts. The addition of these timeout configurations improves the flexibility and reliability of the monitoring system.
2024-05-22 20:08:35 +01:00
Simon Larsen
5f7dcf7433
refactor: Update timeout handling in monitor scripts
This commit updates the timeout handling in the monitor scripts to use the `WorkflowScriptTimeoutInMS` and `PROBE_CUSTOM_CODE_MONITOR_SCRIPT_TIMEOUT_IN_MS` values from the environment configuration. This ensures that the monitor scripts have consistent and configurable timeout values, improving the reliability and performance of the monitoring system.
2024-05-22 20:06:32 +01:00
Simon Larsen
c153c8c656
chore: Add YouTube tutorial link to README.md 2024-05-15 10:22:56 +01:00
Simon Larsen
e481e043dd
refactor: Update REDIS_PORT value in _helpers.tpl to use dynamic value from values.yaml 2024-05-06 20:47:09 +01:00
Simon Larsen
a4e6552c91
refactor: Disable redis persistence and add common configuration in values.yaml 2024-05-06 15:20:42 +01:00
Simon Larsen
ca100f9de9
refactor: Update REDIS_PORT value in _helpers.tpl to use dynamic value from values.yaml 2024-05-06 13:53:37 +01:00
Simon Larsen
68dbb010aa
refactor: Disable redis persistence and add common configuration in values.yaml 2024-05-06 13:49:08 +01:00
Simon Larsen
0c5d0e81a5
Update ingress configuration for OneUptime Helm chart 2024-05-01 13:41:35 +01:00
Simon Larsen
85ffc36fad
Refactor Let's Encrypt configuration and update GreenlockUtil class 2024-05-01 12:44:49 +01:00
Simon Larsen
8d34e9ccbe
Refactor LetsEncrypt configuration and update GreenlockUtil class 2024-05-01 12:42:32 +01:00
Simon Larsen
1433823efe
Update LetsEncrypt configuration for OneUptime deployment 2024-05-01 12:13:01 +01:00
Simon Larsen
bd5902ed6d
Update ingress configuration for OneUptime Helm chart 2024-05-01 11:44:30 +01:00
Simon Larsen
b64666f0ff
Update oneuptime logo URL in README.md 2024-05-01 11:32:30 +01:00
Simon Larsen
9706cced86
Update OneUptime Helm chart with production readiness checklist 2024-05-01 11:29:14 +01:00
Simon Larsen
49cb3024ef
Update nginx.yaml for OneUptime Helm chart 2024-05-01 11:09:30 +01:00
Simon Larsen
2fec007c5f
Update ingressClassName in values.yaml for OneUptime Helm chart 2024-05-01 10:57:26 +01:00
Simon Larsen
0f40f5f730
Update HelmChart templates and values for OneUptime deployment 2024-05-01 10:30:21 +01:00
Simon Larsen
120ca78760
Update HelmChart/Public/oneuptime/templates/extra-templates.yaml and HelmChart/Public/oneuptime/values.yaml 2024-05-01 10:19:30 +01:00
Simon Larsen
d50fdf3464
Update nginx.yaml and values.yaml for OneUptime Helm chart 2024-05-01 10:14:02 +01:00
Simon Larsen
7c16b14ab4
Update table name in PostgresDatabase.ts and remove unused volume in app.yaml 2024-04-30 19:45:43 +01:00
Simon Larsen
c348a8bd05
Refactor StatusPageDomainAPI to enable custom domains and improve CNAME verification process 2024-04-28 21:20:45 +01:00
Simon Larsen
eaaef7280f
Refactor StatusPageDomainService: Add onBeforeUpdate hook to validate CNAME and update GreenlockUtil configuration paths 2024-04-28 14:24:24 +01:00
Simon Larsen
00b5453b3f
Add LETSENCRYPT_NOTIFICATION_EMAIL configuration option 2024-04-28 13:09:23 +01:00
Simon Larsen
899bc1d205
Update E2E cron job environment variables to use consistent naming convention 2024-04-26 19:19:38 +01:00
Simon Larsen
a0e565485b
Update environment variables and configurations in E2E and HelmChart templates 2024-04-26 19:07:20 +01:00
Simon Larsen
35c21d7611
Update E2E workflow to include failed webhook URL 2024-04-26 18:54:23 +01:00
Simon Larsen
818f8cc421
Update E2E workflow to use environment variables from config.env in test.e2e.yaml 2024-04-26 18:46:10 +01:00
Simon Larsen
eaeb40ec49
Update Kubernetes metadata and environment variables in HelmChart templates 2024-04-26 18:10:26 +01:00
Simon Larsen
496c2ca32c
Update Kubernetes metadata in HelmChart templates 2024-04-26 15:05:30 +01:00
Simon Larsen
499ab07cd3
Update E2E cron job environment variables to use quoted values 2024-04-26 15:01:17 +01:00
Simon Larsen
c634526215
Update OpenTelemetry exporter configuration in HelmChart 2024-04-26 14:56:33 +01:00
Simon Larsen
cda9921f5d
Update OpenTelemetry exporter configuration in HelmChart 2024-04-26 14:54:10 +01:00
Simon Larsen
d3ca5a97ea
Update OpenTelemetry exporter configuration in HelmChart 2024-04-26 14:53:25 +01:00
Simon Larsen
f47b53c5b9
Fix formatting issues in code blocks 2024-04-25 22:03:12 +01:00
Simon Larsen
11d580a373
Add E2E test environment variables and update E2E tests 2024-04-25 21:53:51 +01:00
Simon Larsen
894d15918b
Fix BASE_URL construction in Config.ts and SignUp.test.ts 2024-04-25 12:45:08 +01:00
Simon Larsen
73e6a20503
Refactor e2e-cron.yml to include common environment variables and change restart policy 2024-04-25 12:33:58 +01:00
Simon Larsen
092564434f
Refactor Dockerfile.tpl to remove duplicate CMD instruction 2024-04-25 12:27:36 +01:00
Simon Larsen
b88320bcbb
Refactor cleanup cron jobs in HelmChart/Public/oneuptime/templates/cron-job.yaml and values.yaml 2024-04-24 18:50:13 +01:00
Simon Larsen
06bafdfce6
Refactor cleanup cron jobs in HelmChart/Public/oneuptime/templates/cron-job.yaml and HelmChart/Public/oneuptime/values.yaml 2024-04-24 18:44:00 +01:00
Simon Larsen
0f86812258
Add new configurations for 'ingestor' in HelmChart/Public/oneuptime/values.yaml and Nginx/Index.ts 2024-04-24 18:26:13 +01:00
Simon Larsen
ae6852d5eb
Refactor connection check methods for Redis, Postgres, and Clickhouse 2024-04-24 17:05:50 +01:00
Simon Larsen
e2644586b6
Refactor connection check methods for Redis, Postgres, and Clickhouse 2024-04-24 14:30:29 +01:00
Simon Larsen
4c60f080f0
Add cron job to delete completed pods 2024-04-24 11:34:01 +01:00
Simon Larsen
5f40c393b1
Update cron job schedule to run every 5 minutes 2024-04-24 10:18:43 +01:00
Simon Larsen
7b22d293f2
add cron job to clean up crash loop backoff states 2024-04-24 10:18:17 +01:00
Simon Larsen
7f6c247652
Update dependencies versions in HelmChart 2024-04-24 10:02:29 +01:00
Simon Larsen
9d0c110a74
Update dependencies versions in HelmChart 2024-04-23 20:38:08 +01:00
Simon Larsen
9d3c4df5e7
Update Greenlock packageRoot path in app.yaml 2024-04-23 16:41:36 +01:00
Simon Larsen
ca89818cc1
Update Greenlock packageRoot path in StatusPageCerts.ts and app.yaml 2024-04-23 16:39:43 +01:00
Simon Larsen
73b4987b32
Update dependencies versions in HelmChart 2024-04-23 12:02:42 +01:00
Simon Larsen
6910648daf
Update Nginx Helm chart to include a new volume for /var/run and /var/cache/nginx 2024-04-20 16:59:40 +01:00
Simon Larsen
9fb68afe79
Update Nginx Helm chart to include a new volume for /var/run 2024-04-20 16:54:50 +01:00
Simon Larsen
6438953c91
update values for nginx 2024-04-19 18:11:58 +01:00
Simon Larsen
d0738ad64d
Update Helm dependencies and versions 2024-04-18 23:00:56 +01:00
Simon Larsen
a21b9ca555
Update Helm dependencies and versions 2024-04-18 22:55:21 +01:00
Simon Larsen
f0e2910bd5
update helm dep 2024-04-18 22:06:09 +01:00
Simon Larsen
8f84027813
Refactor HelmChart templates to fix volume mount paths in haraka.yaml and nginx.yaml 2024-04-18 20:38:29 +01:00
Simon Larsen
0bd173dd93
Add basic ops query to check size of tables in Clickhouse 2024-04-18 12:04:48 +01:00
Simon Larsen
87b7bbad16
Refactor HelmChart templates to use emptyDir volumes for haraka.yaml 2024-04-18 11:04:38 +01:00
Simon Larsen
6cc00a1e5b
Refactor HelmChart templates to use emptyDir volumes instead of persistentVolumeClaim 2024-04-18 11:00:21 +01:00
Simon Larsen
c2285848cd
add enable to haraka 2024-04-18 10:43:31 +01:00
Simon Larsen
be2b32822b
Update Kubernetes configurations for OneUptime chart 2024-04-11 17:07:37 +01:00
Simon Larsen
6ebc601121
Update port configurations in HelmChart/Public/oneuptime/values.yaml and templates 2024-04-11 17:04:24 +01:00
Simon Larsen
113a42b17f
Update port configurations in HelmChart/Public/oneuptime/values.yaml and templates 2024-04-10 13:19:10 +01:00
Simon Larsen
4682467bde
Update port configurations in HelmChart/Public/oneuptime/values.yaml and templates 2024-04-10 13:12:43 +01:00