Skip to content

Commit

Permalink
docs(gathered-data): fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Lüders committed Nov 15, 2022
1 parent 451c961 commit 0f1b17e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions docs/gathered-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,17 @@ docs/insights-archive-sample/config/storage/openshift-storage/cephclusters/ocs-s
| Version | Path |
| ------- | ----------------------------------------------------- |
| <= 4.12 | config/storage/{namespace}/{name}.json |
| >= 4.13 | config/storage/{namespace}/cephclusters/{name}.json |
| 4.13+ | config/storage/{namespace}/cephclusters/{name}.json |

### Config ID:
clusterconfig/ceph_cluster

### Released version:
* 4.12

### Backport versions:
### Since versions:
* 4.8.49
* 4.9.48
* 4.10.31
* 4.11.2
* 4.12


## CertificateSigningRequests
Expand Down Expand Up @@ -994,12 +992,12 @@ docs/insights-archive-sample/config/storage/openshift-storage/storageclusters/oc
| Version | Path |
| ------- | -------------------------------------------------------- |
| <= 4.12 | config/storage/{namespace}/{name}.json |
| >= 4.13 | config/storage/{namespace}/storageclusters/{name}.json |
| 4.13+ | config/storage/{namespace}/storageclusters/{name}.json |

### Config ID:
clusterconfig/storage_cluster

### Released version:
### Since versions:
* 4.11


Expand Down
8 changes: 3 additions & 5 deletions pkg/gatherers/clusterconfig/ceph_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,17 @@ import (
// | Version | Path |
// | ------- | ----------------------------------------------------- |
// | <= 4.12 | config/storage/{namespace}/{name}.json |
// | >= 4.13 | config/storage/{namespace}/cephclusters/{name}.json |
// | 4.13+ | config/storage/{namespace}/cephclusters/{name}.json |
//
// ### Config ID:
// clusterconfig/ceph_cluster
//
// ### Released version:
// * 4.12
//
// ### Backport versions:
// ### Since versions:
// * 4.8.49
// * 4.9.48
// * 4.10.31
// * 4.11.2
// * 4.12
func (g *Gatherer) GatherCephCluster(ctx context.Context) ([]record.Record, []error) {
gatherDynamicClient, err := dynamic.NewForConfig(g.gatherKubeConfig)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions pkg/gatherers/clusterconfig/storage_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ import (
// | Version | Path |
// | ------- | -------------------------------------------------------- |
// | <= 4.12 | config/storage/{namespace}/{name}.json |
// | >= 4.13 | config/storage/{namespace}/storageclusters/{name}.json |
// | 4.13+ | config/storage/{namespace}/storageclusters/{name}.json |
//
// ### Config ID:
// clusterconfig/storage_cluster
//
// ### Released version:
// ### Since versions:
// * 4.11
func (g *Gatherer) GatherStorageCluster(ctx context.Context) ([]record.Record, []error) {
gatherDynamicClient, err := dynamic.NewForConfig(g.gatherKubeConfig)
Expand Down

0 comments on commit 0f1b17e

Please sign in to comment.