diff --git a/canary-checker/docs/reference/1-alert-manager.mdx b/canary-checker/docs/reference/1-alert-manager.mdx
index 86541791..42e3bf9a 100644
--- a/canary-checker/docs/reference/1-alert-manager.mdx
+++ b/canary-checker/docs/reference/1-alert-manager.mdx
@@ -1,9 +1,10 @@
---
title: Alertmanager
+hide_title: true
sidebar_class_name: popular
---
-# Alertmanager
+# Alertmanager
Checks [Prometheus AlertManager](https://prometheus.io/docs/alerting/latest/alertmanager/) for any firing alerts.
@@ -59,6 +60,7 @@ spec:
}
]}/>
+
## Relationships
+
## Inserting checks into different namespaces
You can specify different namespaces for checks using the `namespace` field. This is helpful when checks are dynamically generated via transformation
diff --git a/canary-checker/docs/reference/1-aws-cloudwatch.mdx b/canary-checker/docs/reference/1-aws-cloudwatch.mdx
index 4ef86ab4..cefe48cb 100644
--- a/canary-checker/docs/reference/1-aws-cloudwatch.mdx
+++ b/canary-checker/docs/reference/1-aws-cloudwatch.mdx
@@ -1,8 +1,9 @@
---
title: AWS Cloud Watch
+hide_title: true
---
-# CloudWatch
+# CloudWatch
Cloudwatch checks for all active alarms
diff --git a/canary-checker/docs/reference/1-catalog.mdx b/canary-checker/docs/reference/1-catalog.mdx
index cc343ae7..31982cb3 100644
--- a/canary-checker/docs/reference/1-catalog.mdx
+++ b/canary-checker/docs/reference/1-catalog.mdx
@@ -1,8 +1,11 @@
---
-title: Flanksource Catalog
+title: Config DB
+hide_title: true
sidebar_class_name: popular
---
+# Config DB
+
Runs a [config-db](https://github.com/flanksource/config-db) query.
```yaml title="catalog.yaml" file=../../../modules/canary-checker/fixtures/external/catalog.yaml
diff --git a/canary-checker/docs/reference/1-folder.mdx b/canary-checker/docs/reference/1-folder.mdx
index 945885a9..2e11455b 100644
--- a/canary-checker/docs/reference/1-folder.mdx
+++ b/canary-checker/docs/reference/1-folder.mdx
@@ -6,12 +6,12 @@ title: Folder
Checks the contents of a folder for size, age and count. Folder based checks are useful in a number of scenarios:
-* Verifying that backups have been uploaded and are the appropriate size
-* Checking that logs or other temporary files are being cleaned up
-* For batch processes:
- * Checking if files are being processed (and/or produced)
- * Checking the size of queue processing backlog
- * Checking if any error (`.err` or `.log`) files have been produced.
+- Verifying that backups have been uploaded and are the appropriate size
+- Checking that logs or other temporary files are being cleaned up
+- For batch processes:
+ - Checking if files are being processed (and/or produced)
+ - Checking the size of queue processing backlog
+ - Checking if any error (`.err` or `.log`) files have been produced.
```yaml title="folder-check.yaml"
apiVersion: canaries.flanksource.com/v1
@@ -27,8 +27,6 @@ spec:
minCount: 10
```
-
-
-
## FolderFilter
| Field | Description | Scheme | Required |
| --------- | ----------------------------------------------------------- | ---------------------------------------------------- | -------- |
-| `maxAge` | MaxAge the latest object should be younger than defined age | [Duration](/reference/types#duration) | |
-| `maxSize` | MaxSize of the files inside the searchPath | [Size](/reference/types#size) | |
-| `minAge` | MinAge the latest object should be older than defined age | [Duration](/reference/types#duration) | |
-| `minSize` | MinSize of the files inside the searchPath | [Size](/reference/types#size) | |
-| `regex` | Filter files based on regular expression | *[regex](https://github.com/google/re2/wiki/Syntax)* | |
+| `maxAge` | MaxAge the latest object should be younger than defined age | [Duration](/reference/types#duration) | |
+| `maxSize` | MaxSize of the files inside the searchPath | [Size](/reference/types#size) | |
+| `minAge` | MinAge the latest object should be older than defined age | [Duration](/reference/types#duration) | |
+| `minSize` | MinSize of the files inside the searchPath | [Size](/reference/types#size) | |
+| `regex` | Filter files based on regular expression | _[regex](https://github.com/google/re2/wiki/Syntax)_ | |
e.g. to verify that database backups are being performed
@@ -72,7 +69,7 @@ spec:
folder:
- path: /data/backups
filter:
- regex: "pg-backups-.*.zip"
+ regex: 'pg-backups-.*.zip'
maxAge: 1d # require a daily backup
minSize: 10mb # the backup should be at least 10mb
```
@@ -81,34 +78,33 @@ spec:
The following fields are available in `test`, `display` and `transform` [expressions](../concepts/expressions)
-| Field | Scheme |
-| --------------------- | -------------------------------------------------- |
-| `Oldest` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
-| `Newest` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
-| `MinSize` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
-| `MaxSize` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
-| `SupportsTotalSize` (Only true for SMB folders) | bool |
+| Field | Scheme |
+| --------------------------------------------------- | -------------------------------------------------- |
+| `Oldest` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
+| `Newest` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
+| `MinSize` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
+| `MaxSize` | [os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
+| `SupportsTotalSize` (Only true for SMB folders) | bool |
| `SupportsAvailableSize` (Only true for SMB folders) | bool |
-| `TotalSize` | int64 |
-| `AvailableSize` | int64 |
-| `Files` | [[]os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
+| `TotalSize` | int64 |
+| `AvailableSize` | int64 |
+| `Files` | [[]os.FileInfo](https://pkg.go.dev/io/fs#FileInfo) |
### FolderFilter
-| Field | Description | Scheme | Required |
-| --------- | ----------- | ----------------------- | -------- |
+| Field | Description | Scheme | Required |
+| --------- | ----------- | --------------------------------------- | -------- |
| `minAge` | | [`Duration`](/reference/types#duration) | |
| `maxAge` | | [`Duration`](/reference/types#duration) | |
| `minSize` | | [`Size`](/reference/types#size) | |
| `maxSize` | | [`Size`](/reference/types#size) | |
-| `regex` | | `string` | |
-
+| `regex` | | `string` | |
## Connection Types
### SFTP
-
+
@@ -118,12 +114,9 @@ The following fields are available in `test`, `display` and `transform` [express
-
-
### S3
-
-
+
```yaml title="s3-check.yaml"
# ...
@@ -145,10 +138,9 @@ spec:
-
### SMB
-
+
```yaml title="smb-check.yaml"
# ...
@@ -161,7 +153,7 @@ spec:
#...
```
-
+
@@ -172,10 +164,9 @@ spec:
-
### GCS
-
+
```yaml title="gcs-check.yaml"
# ...
@@ -187,6 +178,7 @@ spec:
gcpConnection:
# ...
```
+
@@ -195,4 +187,3 @@ spec:
-
diff --git a/canary-checker/docs/reference/1-s3-protocol.mdx b/canary-checker/docs/reference/1-s3-protocol.mdx
index 817dc499..d55c905d 100644
--- a/canary-checker/docs/reference/1-s3-protocol.mdx
+++ b/canary-checker/docs/reference/1-s3-protocol.mdx
@@ -5,7 +5,7 @@ tags:
- enterprise
---
-# S3 Protocol
+# S3 Protocol
Checks if S3 compatible endpoints (like Minio, EMC ECS) are functioning correctly,
diff --git a/canary-checker/docs/reference/3-gcs-database-backup.mdx b/canary-checker/docs/reference/3-gcs-database-backup.mdx
index b0afa3bb..aa2a7821 100644
--- a/canary-checker/docs/reference/3-gcs-database-backup.mdx
+++ b/canary-checker/docs/reference/3-gcs-database-backup.mdx
@@ -3,7 +3,7 @@ title: GCS Database Backup
sidebar_class_name: beta
---
-# Google Cloud SQL Backups
+# Google Cloud SQL Backups
Checks if a Google Cloud SQL instance has been successfully backed up recently.
diff --git a/common/src/components/Helm.jsx b/common/src/components/Helm.jsx
index 0c8591f7..7d2e64f8 100644
--- a/common/src/components/Helm.jsx
+++ b/common/src/components/Helm.jsx
@@ -1,11 +1,8 @@
import CodeBlock from '@theme/CodeBlock'
-import CopyButton from '@theme/CodeBlock/CopyButton'
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import Link from '@docusaurus/Link';
import { useState, useRef } from "react"
-import Details from '@theme/Details';
-import Properties from '@site/docs/installation/_properties.mdx'
function generateCli(
@@ -48,7 +45,6 @@ function generateCli(
if (wait) {
s += " --wait \n"
}
- console.log('generate', s, values)
return s
}
@@ -72,8 +68,6 @@ export default function Helm({
const [cli, setCli] = useState(generateCli(
repo, repoName, chart, namespace, createNamespace, createRepo, wait, state, valueFile, args))
- console.log(values)
-
return <>
{/*