Commit Graph

221 Commits

Author SHA1 Message Date
Simon Larsen
fc0071162e
refactor: Update span count and query in MonitorTelemetryMonitor.ts 2024-08-08 12:00:48 -06:00
Simon Larsen
a88b14747c
refactor: Update values.yaml and config.example.env for Let's Encrypt integration 2024-08-08 09:56:15 -06:00
Simon Larsen
70371a32af
feat: Add imagePullSecrets to Helm chart templates 2024-08-03 14:25:26 -06:00
AlexK
f1d7e0d13f add imagePullSecrets to chart 2024-08-03 15:02:44 +02:00
Simon Larsen
d49a6ce009
refactor: Update OneUptime chart to use probes instead of probe for probe configuration 2024-08-02 14:02:55 -06:00
Simon Larsen
9b8a5c9c43
feat: Add lazy loading for images in SettingsRoutes 2024-08-02 13:44:59 -06:00
Simon Larsen
3bf74edae4
feat: Update OneUptime chart to use probes instead of probe for probe configuration 2024-08-01 19:37:46 -06:00
Simon Larsen
2c5bbbb6da
feat: Update OneUptime chart to use probes instead of probe for probe configuration
This commit modifies the OneUptime chart to use the `probes` parameter instead of the `probe` parameter for configuring probes. The `probes` parameter now accepts a key-value pair where the key represents the probe name and the value contains the probe configuration details. This change improves the clarity and consistency of the chart configuration, making it easier to manage and maintain.

Files modified:
- HelmChart/Public/oneuptime/README.md
2024-08-01 08:22:51 -06:00
Simon Larsen
88216cdebb
Update OneUptime chart to include secure probe keys
This commit adds a new configurable parameter `probe.<key>.key` to the OneUptime chart. It is recommended to set this parameter to a long random string to secure the probes. This enhancement improves the security of the OneUptime application by ensuring that only authorized entities can access and use the probes.

Files modified:
- HelmChart/Public/oneuptime/README.md
2024-08-01 08:18:28 -06:00
Simon Larsen
ba97a1e14b
refactor: Update npm dependency to latest stable version 2024-07-25 17:25:16 -06:00
Simon Larsen
e654b65e71
refactor: Add support for reportDataInDays and isReportEnabled in StatusPageSubscriberService 2024-07-24 12:53:18 -06:00
Simon Larsen
ed954d79a4
fix ingress 2024-07-12 12:05:29 +01:00
Simon Larsen
113e95a059
add fluentd host to ingress 2024-07-12 11:29:37 +01:00
Simon Larsen
4d31b85c4d
add otel collector to ingress 2024-07-12 11:26:54 +01:00
Simon Larsen
9227324ac3
fix port name on ingress 2024-07-12 11:21:53 +01:00
Simon Larsen
97306d47fa
refactor: Update default replica count for all deployments 2024-07-05 12:37:38 +01:00
Simon Larsen
c617e49a63
refactor: Update ingestor replica count based on configuration
This commit updates the ingestor replica count in the HelmChart/Public/oneuptime/templates/ingestor.yaml file based on the configuration. If the `$.Values.deployment.ingestor.replicaCount` value is provided, it sets the replicas to that value. Otherwise, it falls back to `$.Values.deployment.replicaCount`. This change ensures that the ingestor replica count is correctly configured, improving the scalability and performance of the application.
2024-07-05 10:51:19 +01:00
Simon Larsen
dec35bbc03
chore: Update model-inline-code styles for consistency
This commit updates the model-inline-code styles in the model.ejs and head.ejs files to ensure consistency throughout the application. The model-inline-code class is now defined with rounded corners, smaller text size, and a gray background color. This change improves the visual presentation of code snippets in the application.
2024-07-01 13:52:49 +01:00
Simon Larsen
b7b5288f9c
```text
chore: Set oneuptimeSecret and encryptionSecret to long random strings

The `oneuptimeSecret` and `encryptionSecret` values in the `values.yaml` file have been updated to be set to long random strings. This change ensures better security for OneUptime in production environments.
2024-06-28 10:51:45 +01:00
Simon Larsen
e2074b010e
refactor: Add notification webhook on user creation
This commit adds a notification webhook on user creation in the UserService. When a new user is created, a Slack message is sent to the specified webhook URL with details about the user's email, name, phone number, and company name. This feature enhances the user onboarding process and allows for better tracking and communication with new users.
2024-06-25 22:48:46 +01:00
Simon Larsen
3aaed9c901
refactor: Update OneUptime port in nginx.yaml
This commit updates the ONEUPTIME_HTTP_PORT value in the nginx.yaml file to use the port specified in the $.Values.port.nginxHttp variable. This change ensures that OneUptime is hosted on the correct port.
2024-06-24 19:59:36 +01:00
Simon Larsen
14f9950c38
Update container port names for status page in nginx.yaml 2024-06-24 19:45:01 +01:00
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
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
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