Skip to content

Commit

Permalink
Fix values.yaml resource order.
Browse files Browse the repository at this point in the history
Signed-off-by: pritamdas99 <[email protected]>
  • Loading branch information
pritamdas99 authored and raihankhan committed Mar 25, 2024
1 parent b78f32a commit facee1c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions charts/kubedb-grafana-dashboards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,30 @@ The command removes all the Kubernetes components associated with the chart and

The following table lists the configurable parameters of the `kubedb-grafana-dashboards` chart and their default values.

| Parameter | Description | Default |
|---------------------------------|--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
| nameOverride | Overrides name template | <code>""</code> |
| fullnameOverride | Overrides fullname template | <code>""</code> |
| resources | List of resources for which dashboards will be applied | <code>["connectcluster","elasticsearch","kafka","mariadb","mongodb","mysql","perconaxtradb","postgres","proxysql","redis","zookeeper","singlestore"]</code> |
| dashboard.folderID | ID of Grafana folder where these dashboards will be applied | <code>0</code> |
| dashboard.overwrite | If true, dashboard with matching uid will be overwritten | <code>true</code> |
| dashboard.templatize.title | If true, datasource will be prefixed to dashboard name | <code>false</code> |
| dashboard.templatize.datasource | If true, datasource will be hardcoded in the dashboard | <code>false</code> |
| dashboard.alerts | | <code>false</code> |
| dashboard.replacements | | <code></code> |
| grafana.name | Name of Grafana Appbinding where these dashboards are applied | <code>""</code> |
| grafana.namespace | Namespace of Grafana Appbinding where these dashboards are applied | <code>""</code> |
| grafana.version | | <code>8.0.7</code> |
| grafana.url | | <code>""</code> |
| grafana.apikey | | <code>""</code> |
| app.name | | <code>""</code> |
| app.namespace | | <code>""</code> |
| Parameter | Description | Default |
|---------------------------------|--------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| nameOverride | Overrides name template | <code>""</code> |
| fullnameOverride | Overrides fullname template | <code>""</code> |
| resources | List of resources for which dashboards will be applied | <code>["connectcluster","elasticsearch","kafka","mariadb","mongodb","mysql","perconaxtradb","postgres","proxysql","redis","singlestore","solr","zookeeper"]</code> |
| dashboard.folderID | ID of Grafana folder where these dashboards will be applied | <code>0</code> |
| dashboard.overwrite | If true, dashboard with matching uid will be overwritten | <code>true</code> |
| dashboard.templatize.title | If true, datasource will be prefixed to dashboard name | <code>false</code> |
| dashboard.templatize.datasource | If true, datasource will be hardcoded in the dashboard | <code>false</code> |
| dashboard.alerts | | <code>false</code> |
| dashboard.replacements | | <code></code> |
| grafana.name | Name of Grafana Appbinding where these dashboards are applied | <code>""</code> |
| grafana.namespace | Namespace of Grafana Appbinding where these dashboards are applied | <code>""</code> |
| grafana.version | | <code>8.0.7</code> |
| grafana.url | | <code>""</code> |
| grafana.apikey | | <code>""</code> |
| app.name | | <code>""</code> |
| app.namespace | | <code>""</code> |


Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example:

```bash
$ helm upgrade -i kubedb-grafana-dashboards appscode/kubedb-grafana-dashboards -n kubeops --create-namespace --version=v2024.3.16 --set resources=["connectcluster","elasticsearch","kafka","mariadb","mongodb","mysql","perconaxtradb","postgres","proxysql","redis","zookeeper","singlestore"]
$ helm upgrade -i kubedb-grafana-dashboards appscode/kubedb-grafana-dashboards -n kubeops --create-namespace --version=v2024.3.16 --set resources=["connectcluster","elasticsearch","kafka","mariadb","mongodb","mysql","perconaxtradb","postgres","proxysql","redis","singlestore","solr","zookeeper"]
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while
Expand Down
2 changes: 1 addition & 1 deletion charts/kubedb-grafana-dashboards/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ resources: # +doc-gen:break
- postgres
- proxysql
- redis
- zookeeper
- singlestore
- solr
- zookeeper

dashboard:
# ID of Grafana folder where these dashboards will be applied
Expand Down

0 comments on commit facee1c

Please sign in to comment.