add ingress and haraka

This commit is contained in:
Simon Larsen 2023-09-25 10:34:26 +00:00
parent a091cd4faa
commit 15e2c9cef2
4 changed files with 37 additions and 9 deletions

View File

@ -1,13 +1,13 @@
### Installation
```
helm install oneuptime ./HelmChart/public/oneuptime
helm install oneuptime ./HelmChart/public/oneuptime -f ./HelmChart/public/oneuptime/values.yaml
```
### Upgrade
```
helm upgrade oneuptime ./HelmChart/public/oneuptime
helm upgrade oneuptime ./HelmChart/public/oneuptime -f ./HelmChart/public/oneuptime/values.yaml
```
### Remove

View File

@ -0,0 +1,14 @@
# OneUptime haraka Service
{{- $harakaDeploymentArgs :=dict "ServiceName" "haraka" "Port" $.Values.port.haraka "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.deployment" $harakaDeploymentArgs }}
---
# OneUptime haraka Service
{{- $harakaServiceArgs := dict "ServiceName" "haraka" "Port" $.Values.port.haraka "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.service" $harakaServiceArgs }}
---
# OneUptime haraka Service
{{- $harakaAutoScalerArgs := dict "ServiceName" "haraka" "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.autoscaler" $harakaAutoScalerArgs }}
---

View File

@ -0,0 +1,14 @@
# OneUptime nginx Service
{{- $nginxDeploymentArgs :=dict "ServiceName" "nginx" "Port" $.Values.port.nginx "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.deployment" $nginxDeploymentArgs }}
---
# OneUptime nginx Service
{{- $nginxServiceArgs := dict "ServiceName" "nginx" "Port" $.Values.port.nginx "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.service" $nginxServiceArgs }}
---
# OneUptime nginx Service
{{- $nginxAutoScalerArgs := dict "ServiceName" "nginx" "Release" $.Release "Values" $.Values -}}
{{- include "oneuptime.autoscaler" $nginxAutoScalerArgs }}
---

View File

@ -1,3 +1,6 @@
global:
storageClass: please-add-storage-class
# Please change this to the domain name / IP where OneUtpime server is hosted on.
host: localhost
@ -15,6 +18,10 @@ postgressql:
architecture: standalone
clickhouse:
shards: 1
replicaCount: 1
zookeeper:
enabled: false
auth:
username: oneuptime
password: please-change-this
@ -73,13 +80,6 @@ secrets:
oneuptime: please-change-this
encryption: please-change-this
clickhouse:
user:
pasword:
database:
host:
port:
port:
home: 1444