Issue - VM Monitor Service: switch to env vars in the app.properties
@@ -4,10 +4,10 @@ cloud.pipeline.token=${CP_API_JWT_ADMIN}
cloud.pipeline.api.version=0.15
#Moniroting settings in ms
-monitor.schedule.cron=0 */2 * ? * *
-monitor.instance.tag=monitored=true
-monitor.required.labels=runid
-monitor.runid.label=Name
+monitor.schedule.cron=${CP_VM_MONITOR_CRON}
+monitor.instance.tag=${CP_VM_MONITOR_INSTANCE_TAG_NAME}=${CP_VM_MONITOR_INSTANCE_TAG_VALUE}
+monitor.required.labels=${CP_VM_MONITOR_REQUIRED_LABELS}
+monitor.runid.label=${CP_VM_MONITOR_RUN_ID_LABEL}
#Notification settings
notification.missing-node.subject=[CloudPipeline] VM $templateParameters["instanceName"] is not registered in cluster
@@ -16,8 +16,8 @@ notification.missing-node.template=file://${CP_VM_MONITOR_TEMPLATES_LOCATION}/MI
notification.missing-labels.subject=[CloudPipeline] VM $templateParameters["nodeName"] is missing required labels
notification.missing-labels.template=file://${CP_VM_MONITOR_TEMPLATES_LOCATION}/templates/MISSING-LABELS.html
-notification.to-user=${CP_DEFAULT_ADMIN_NAME:pipe_admin}
-notification.copy-users=
+notification.to-user=${CP_VM_MONITOR_TO_USER}
+notification.copy-users=${CP_VM_MONITOR_CC_USERS}
# supported values - api [default], smtp
notification.send.method=api
\ No newline at end of file
