Mission Control Config DB
ConfigDB check connects to the specified database host, run a specified query for your configuration data, and return the result.
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: configdb-check
spec:
interval: 30
configDB:
- name: ConfigDB Check
host: <insert-database-host>
authentication:
username:
valueFrom:
secretKeyRef:
name: configdb-credentials
key: USERNAME
password:
valueFrom:
secretKeyRef:
name: configdb-credentials
key: PASSWORD
query: <insert-query>
Field | Description | Scheme | Required |
---|---|---|---|
authentication |
Username and password value, configMapKeyRef or SecretKeyRef for ConfigDB server | Authentication | |
description |
Description for the check | string | |
display |
Template to display query results in text (overrides default bar format for UI) | Template | |
host |
Host is the server against which check needs to be executed | string | Yes |
icon |
Icon for overwriting default icon on the dashboard | string | |
labels |
Labels for the check | Labels | |
name |
Name of the check | string | Yes |
query |
Query that needs to be executed on the server | string | Yes |
test |
Template to test the result against | Template | |
transform |
Template to transform results to | Template |