AETHER-752 Fix scheduled downtime on wrong pod bug
Change-Id: I580ffe3bc8588d825ca604dc4a63f269ac9ee8ac
diff --git a/monitoring/edge-monitoring-server/Chart.yaml b/monitoring/edge-monitoring-server/Chart.yaml
index 981fe62..d55d697 100644
--- a/monitoring/edge-monitoring-server/Chart.yaml
+++ b/monitoring/edge-monitoring-server/Chart.yaml
@@ -8,9 +8,9 @@
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 0.2.1
+version: 0.3.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
-appVersion: 0.3.2
+appVersion: 0.4.0
diff --git a/monitoring/edge-monitoring-server/templates/deployment.yaml b/monitoring/edge-monitoring-server/templates/deployment.yaml
index 65895ca..fa7951e 100644
--- a/monitoring/edge-monitoring-server/templates/deployment.yaml
+++ b/monitoring/edge-monitoring-server/templates/deployment.yaml
@@ -46,6 +46,8 @@
secretKeyRef:
name: {{ include "edge-monitoring-server.fullname" . }}-calendar-secret
key: iCalUrl
+ - name: AETHER_ENV
+ value: {{ .Values.aetherEnv }}
livenessProbe:
httpGet:
path: /edges/healthz
diff --git a/monitoring/edge-monitoring-server/values.yaml b/monitoring/edge-monitoring-server/values.yaml
index e244c19..fa1a468 100644
--- a/monitoring/edge-monitoring-server/values.yaml
+++ b/monitoring/edge-monitoring-server/values.yaml
@@ -16,6 +16,9 @@
# URL of calendar containing scheduled downtimes, in iCal format
iCalUrl: ""
+# Name of environment that server is monitoring (e.g., "staging")
+aetherEnv: "production"
+
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""