add isServer to nginx

This commit is contained in:
Simon Larsen 2023-09-26 18:18:27 +00:00
parent fcbe7fc5f0
commit 614ba797b6
3 changed files with 19 additions and 3 deletions

View File

@ -210,7 +210,7 @@ spec:
selector:
matchLabels:
app: {{ printf "%s-%s" $.Release.Name $.ServiceName }}
replicas: {{ $.Values.replicaCount }}
replicas: {{ $.Values.deployment.replicaCount }}
template:
metadata:
labels:

View File

@ -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 }}
---

View File

@ -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