Skip to content
Snippets Groups Projects
Commit 1a64564e authored by Rob Kooper's avatar Rob Kooper
Browse files

use new healthmonitor

can use secrets
parent cbe368e9
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,5 @@ apiVersion: v2
name: healthmonitor
description: Healthmonitor, checks ports and machines
type: application
version: 0.1.1
appVersion: 1.2.2
version: 1.0.0
appVersion: 1.3.1
......@@ -21,6 +21,28 @@ spec:
image: clowder/healthmonitor:{{ .Chart.AppVersion }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.existingSecret }}
env:
- name: NOTIFIERS
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: notifiers
optional: true
- name: CHECKS
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: checks
optional: true
- name: CONFIG
valueFrom:
secretKeyRef:
name: {{ .Values.existingSecret }}
key: config
optional: true
{{- end }}
# Mount the NFS volume in the container
volumeMounts:
{{- if .Values.nfs.enabled }}
......
......@@ -17,5 +17,12 @@ checks:
# hostport:
# filewrite:
# name of existing secret, can contain the following keys:
# - notifiers: list of notifiers
# - checks: list of checks
# - config: dict with notifiers and checks
# existingSecret:
image:
pullPolicy: IfNotPresent
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment