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

docs: Fix code block in custom label doc #1600

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
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
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
Loading