AETHER-1798 Don't create Secret if no iCalUrl

Change-Id: I5fc366a2523485e4a76f9eb7e237e655f134290e
diff --git a/monitoring/edge-monitoring-server/Chart.yaml b/monitoring/edge-monitoring-server/Chart.yaml
index 7c9645f..8ad2fc3 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.4.9
+version: 0.4.10
 
 # 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.6.1
+appVersion: 0.6.2
diff --git a/monitoring/edge-monitoring-server/templates/secret.yaml b/monitoring/edge-monitoring-server/templates/secret.yaml
index 046807d..dd7b91b 100644
--- a/monitoring/edge-monitoring-server/templates/secret.yaml
+++ b/monitoring/edge-monitoring-server/templates/secret.yaml
@@ -1,6 +1,7 @@
 # Copyright 2020-present Open Networking Foundation
 # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
 
+{{- if .Values.iCalUrl }}
 apiVersion: v1
 kind: Secret
 metadata:
@@ -10,4 +11,5 @@
 type: Opaque
 data:
   iCalUrl: |-
-    {{ .Values.iCalUrl | b64enc }}
\ No newline at end of file
+    {{ .Values.iCalUrl | b64enc }}
+{{- end }}