Skip to content

Commit

Permalink
Small changes in the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Poignant committed Jun 9, 2022
1 parent a082b88 commit a19cf5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
17 changes: 7 additions & 10 deletions docs/flag_file/kubernetes_configmaps.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File
# Kubernetes configmaps
The [**KubernetesRetriever**](https://pkg.go.dev/github.com/thomaspoignant/go-feature-flag#KubernetesRetriever)
will access flags in a Kubernetes ConfigMap via the [Kubernetes Go client](https://github.com/kubernetes/client-go)

Expand All @@ -25,12 +25,9 @@ defer ffclient.Close()
## Configuration fields
To configure your retriever:

| Field | Description |
|--------------------|----------------------------------------------------|
|**`Namespace`** | The namespace of the ConfigMap. |
|--------------------|----------------------------------------------------|
|**`ConfigMapName`** | The name of the ConfigMap. |
|--------------------|----------------------------------------------------|
|**`Key`** | The key within the ConfigMap storing the flags. |
|--------------------|----------------------------------------------------|
| **`ClientConfig`** | The configuration object for the Kubernetes client |
| Field | Description |
|---------------------|----------------------------------------------------|
| **`Namespace`** | The namespace of the ConfigMap. |
| **`ConfigMapName`** | The name of the ConfigMap. |
| **`Key`** | The key within the ConfigMap storing the flags. |
| **`ClientConfig`** | The configuration object for the Kubernetes client |
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ nav:
- 'flag_file/github.md'
- 'flag_file/file.md'
- 'flag_file/google_cloud_storage.md'
- 'flag_file/kubernetes_configmaps.md'
- 'flag_file/custom.md'
- 'flag_format.md'
- 'users.md'
Expand Down

0 comments on commit a19cf5e

Please sign in to comment.