Commit Graph

385 Commits

Author SHA1 Message Date
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