Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update explorer docs with granular configuration #4088

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions website/docs/explorer/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Before using Explorer, please ensure that:

## Setup

Explorer is enabled via configuration through the feature flag `enableExplorer` that you could
Explorer is enabled via configuration through the feature flag `explorer.enabled` that you could
configure in your Weave Gitops Enterprise HelmRelease values:


Expand All @@ -35,9 +35,24 @@ metadata:
spec:
# ... other spec components
values:
enableExplorer: true
explorer:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given its a getting started page, a minimal configuration would be better

explorer:
  enabled: true # global enable/disable flag

and then leave other cases for the user to go onto the configuration page

https://docs.gitops.weave.works/docs/explorer/configuration/

where to give a little more guidance and the configuration options that we provide

https://docs.gitops.weave.works/docs/explorer/configuration/#setup

enabled: true # global enable/disable flag
collector:
# ServiceAccount that explorer will use to watch clusters for resources
serviceAccount:
name: "collector"
namespace: "flux-system"
cleaner:
disabled: false
enabledFor: # controls which parts of the UI utilize the Explorer UI/Server components
- applications
- sources
- gitopssets
- templates
```

The `enabledFor` field will control which parts of the UI utilize the Explorer backend for performant queries. Note that this does not control the collection of these objects, only the presentation of the objects in the UI.

For a complete overview on the configuration you could see [configuration](./configuration.mdx).

## Explorer UI
Expand Down
Loading