mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
add isServer to nginx
This commit is contained in:
parent
fcbe7fc5f0
commit
614ba797b6
@ -210,7 +210,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ printf "%s-%s" $.Release.Name $.ServiceName }}
|
||||
replicas: {{ $.Values.replicaCount }}
|
||||
replicas: {{ $.Values.deployment.replicaCount }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -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 }}
|
||||
---
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user