Skip to content

Commit

Permalink
docs: Fix code block in custom label doc (#1600)
Browse files Browse the repository at this point in the history
* Fix code block in custom label doc

Signed-off-by: Siddhesh Ghadi <[email protected]>

* Add missing fields in table

Signed-off-by: Siddhesh Ghadi <[email protected]>

---------

Signed-off-by: Siddhesh Ghadi <[email protected]>
  • Loading branch information
svghadi authored Nov 19, 2024
1 parent 73a1cb1 commit 0ac5fbf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/reference/argocd.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ SourceNamespaces|[Empty]|List of namespaces other than control-plane namespace w
SCMProviders|[Empty]|List of allowed Source Code Manager (SCM) providers URL.
Volumes | [Empty] | Configure addition volumes for the ArgoCD Application Controller component. This field is optional.
VolumeMounts | [Empty] | Configure addition volume mounts for the ArgoCD Application Controller component. This field is optional.
Annotations | [Empty] | Custom annotations to pods deployed by the operator
Labels | [Empty] | Custom labels to pods deployed by the operator

### ApplicationSet Controller Example

Expand Down Expand Up @@ -205,6 +207,8 @@ InitContainers | [Empty] | List of init containers for the ArgoCD Application Co
SidecarContainers | [Empty] | List of sidecar containers for the ArgoCD Application Controller component. This field is optional.
Volumes | [Empty] | Configure addition volumes for the ArgoCD Application Controller component. This field is optional.
VolumeMounts | [Empty] | Configure addition volume mounts for the ArgoCD Application Controller component. This field is optional.
Annotations | [Empty] | Custom annotations to pods deployed by the operator
Labels | [Empty] | Custom labels to pods deployed by the operator

### Controller Example

Expand Down Expand Up @@ -949,6 +953,8 @@ InitContainers | [Empty] | List of init containers for the repo server deploymen
SidecarContainers | [Empty] | List of sidecar containers for the repo server deployment. This field is optional.
Enabled | true | Flag to enable repo server during ArgoCD installation.
Remote | [Empty] | Specifies the remote URL of the repo server container. By default, it points to a local instance managed by the operator. This field is optional.
Annotations | [Empty] | Custom annotations to pods deployed by the operator
Labels | [Empty] | Custom labels to pods deployed by the operator

### Pass Command Arguments To Repo Server

Expand Down Expand Up @@ -1318,6 +1324,8 @@ InitContainers | [Empty] | List of init containers for the ArgoCD Server compone
SidecarContainers | [Empty] | List of sidecar containers for the ArgoCD Server component. This field is optional.
Volumes | [Empty] | Configure addition volumes for the Argo CD server component. This field is optional.
VolumeMounts | [Empty] | Configure addition volume mounts for the Argo CD server component. This field is optional.
Annotations | [Empty] | Custom annotations to pods deployed by the operator
Labels | [Empty] | Custom labels to pods deployed by the operator


### Server Autoscale Options
Expand Down
6 changes: 5 additions & 1 deletion docs/usage/custom_labels_annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

You can add labels and annotations to the pods of the server, repo, application set controller, and application controller.

```[yaml]
```yaml
apiVersion: argoproj.io/v1beta1
kind: ArgoCD
metadata:
name: example-argocd
spec:
server:
labels:
Expand Down

0 comments on commit 0ac5fbf

Please sign in to comment.