diff --git a/HelmChart/public/oneuptime/templates/_helpers.tpl b/HelmChart/public/oneuptime/templates/_helpers.tpl index 5aa7751271..c8f084f945 100644 --- a/HelmChart/public/oneuptime/templates/_helpers.tpl +++ b/HelmChart/public/oneuptime/templates/_helpers.tpl @@ -210,7 +210,7 @@ spec: selector: matchLabels: app: {{ printf "%s-%s" $.Release.Name $.ServiceName }} - replicas: {{ $.Values.replicaCount }} + replicas: {{ $.Values.deployment.replicaCount }} template: metadata: labels: diff --git a/HelmChart/public/oneuptime/templates/nginx.yaml b/HelmChart/public/oneuptime/templates/nginx.yaml index 060efb5d16..ac51f2b533 100644 --- a/HelmChart/public/oneuptime/templates/nginx.yaml +++ b/HelmChart/public/oneuptime/templates/nginx.yaml @@ -1,5 +1,5 @@ # OneUptime nginx Service -{{- $nginxDeploymentArgs :=dict "ServiceName" "nginx" "Port" $.Values.port.nginx "Release" $.Release "Values" $.Values -}} +{{- $nginxDeploymentArgs :=dict "IsServer" true "ServiceName" "nginx" "Port" $.Values.port.nginx "Release" $.Release "Values" $.Values -}} {{- include "oneuptime.deployment" $nginxDeploymentArgs }} --- diff --git a/HelmChart/public/oneuptime/values.yaml b/HelmChart/public/oneuptime/values.yaml index f383cce939..fb854cd451 100644 --- a/HelmChart/public/oneuptime/values.yaml +++ b/HelmChart/public/oneuptime/values.yaml @@ -8,7 +8,12 @@ host: localhost # You can safely ignore values below this line. # ------------------------------------------------ -replicaCount: 1 +deployment: + replicaCount: 1 + +ingress: + serviceAccount: + type: NodePort postgresql: auth: @@ -101,6 +106,17 @@ secrets: oneuptime: please-change-this encryption: please-change-this +probes: + - name: "Probe 1" + description: "Probe 1" + key: please-change-this + monitoringWorkers: 3 + monitorFetchLimit: 10 + - name: "Probe 2" + description: "Probe 2" + key: please-change-this + monitoringWorkers: 3 + monitorFetchLimit: 10 port: home: 1444