Skip to content

Commit

Permalink
generate api-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
addreas committed May 31, 2022
1 parent 7750acf commit ee164e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion deploy/manifests/latest/crds.yaml
Expand Up @@ -54,7 +54,10 @@ spec:
contentCacheDuration:
description: ContentCacheDuration sets how often the operator should
resync with the external source when using the `grafanaCom.id` or
`url` field to specify the source of the dashboard.
`url` field to specify the source of the dashboard. The default
value is decided by the `dashboardContentCacheDuration` field in
the `Grafana` resource. The default is 0 which is interpreted as
never refetching.
type: string
customFolderName:
type: string
Expand Down Expand Up @@ -2456,6 +2459,7 @@ spec:
dashboardContentCacheDuration:
description: DashboardContentCacheDuration sets a default for when
a `GrafanaDashboard` resource doesn't specify a `contentCacheDuration`.
If left unset or 0 the default behaviour is to cache indefinitely.
type: string
dashboardLabelSelector:
items:
Expand Down
4 changes: 2 additions & 2 deletions documentation/api.md
Expand Up @@ -100,7 +100,7 @@ GrafanaDashboardSpec defines the desired state of GrafanaDashboard
<td><b>contentCacheDuration</b></td>
<td>string</td>
<td>
ContentCacheDuration sets how often the operator should resync with the external source when using the `grafanaCom.id` or `url` field to specify the source of the dashboard.<br/>
ContentCacheDuration sets how often the operator should resync with the external source when using the `grafanaCom.id` or `url` field to specify the source of the dashboard. The default value is decided by the `dashboardContentCacheDuration` field in the `Grafana` resource. The default is 0 which is interpreted as never refetching.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -1963,7 +1963,7 @@ Grafana is the Schema for the grafanas API
<td><b>dashboardContentCacheDuration</b></td>
<td>string</td>
<td>
DashboardContentCacheDuration sets a default for when a `GrafanaDashboard` resource doesn't specify a `contentCacheDuration`.<br/>
DashboardContentCacheDuration sets a default for when a `GrafanaDashboard` resource doesn't specify a `contentCacheDuration`. If left unset or 0 the default behaviour is to cache indefinitely.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down

0 comments on commit ee164e8

Please sign in to comment.