Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Anand Kumar Singh <anandrkskd@gmail.com>
  • Loading branch information
anandrkskd committed Sep 24, 2024
1 parent 6211f3d commit bcfe345
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/reference/argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@ DisableTLSVerification | false | defines whether the redis server should be acce
Image | `redis` | The container image for Redis. This overrides the `ARGOCD_REDIS_IMAGE` environment variable.
Resources | [Empty] | The container compute resources.
Version | 5.0.3 (SHA) | The tag to use with the Redis container image.
Remote | "" | Specifies the remote URL of redis running in external clusters, also disables Redis component. This field is optional.

### Redis Example

Expand Down
7 changes: 2 additions & 5 deletions docs/usage/enabling-disabling-argocd-core-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ In this example, only the controller component is disabled, while all other comp
# Specifying External URLs for Redis and RepoServer Components
When disabling core components like Redis or Repo Server, you may wish to provide an external URL for components running in external clusters. The remote URL can be set using the `spec.<component>.remote` flag (where the component can only be `redis` or `repo`).

Using `spec.<component>.remote` will skip the deployment.
For example,

```yaml
Expand All @@ -41,8 +41,5 @@ metadata:
name: example
spec:
repo:
enabled: false
remote: 'https://www.example.com/repo-server'
```

!!! Note: The remote flag can only be set if the enabled flag of the component is set to false.
```

0 comments on commit bcfe345

Please sign in to comment.