Skip to content

Commit

Permalink
fix: add reference doc for Extra Config feature (#858) (#921)
Browse files Browse the repository at this point in the history
Signed-off-by: Morty Abzug <[email protected]>
Co-authored-by: Morty Abzug <[email protected]>
  • Loading branch information
mortya and Morty Abzug authored Jun 8, 2023
1 parent 2d02688 commit d90af83
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/reference/argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Name | Default | Description
[**Controller**](#controller-options) | [Object] | Argo CD Application Controller options.
[**Dex**](#dex-options) | [Object] | Dex configuration options.
[**DisableAdmin**](#disable-admin) | `false` | Disable the admin user.
[**ExtraConfig**](#extra-config) | [Empty] | A catch-all mechanism to populate the argocd-cm configmap.
[**GATrackingID**](#ga-tracking-id) | [Empty] | The google analytics tracking ID to use.
[**GAAnonymizeUsers**](#ga-anonymize-users) | `false` | Enable hashed usernames sent to google analytics.
[**Grafana**](#grafana-options) | [Object] | Grafana configuration options.
Expand Down Expand Up @@ -310,6 +311,28 @@ spec:
disableAdmin: true
```

## Extra Config

This is a generic mechanism to add new or otherwise-unsupported
features to the argocd-cm configmap. Manual edits to the argocd-cm
configmap will otherwise be automatically reverted.

This defaults to empty.

## Extra Config Example

``` yaml
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
name: example-argocd
spec:
extraConfig:
"accounts.argocd-devops": "apiKey"
"ping": "pong" // The same entry is reflected in Argo CD Configmap.
```
## GA Tracking ID
The google analytics tracking ID to use. This property maps directly to the `ga.trackingid` field in the `argocd-cm` ConfigMap.
Expand Down

0 comments on commit d90af83

Please sign in to comment.