You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -28,9 +27,8 @@ Before deploying Argo CD, ensure you have the following:
28
27
29
28
> [!IMPORTANT]
30
29
> **Ingress Controller Required**: This deployment assumes you already have an Nginx Ingress Controller installed in your cluster. If you don't have one set up yet, please refer to the [Ingress Controller Setup Guide](./ingress-controller-setup.md) before proceeding.
30
+
> **Cert-Manager**: For automated TLS certificate management (recommended). If not installed, see [Cert-Manager Setup Guide](./cert-manager-setup.md).
31
31
32
-
-**Cert-Manager**: For automated TLS certificate management (recommended)
33
-
- If not installed, see [Cert-Manager Setup Guide](./cert-manager-setup.md)
34
32
-**DNS Configuration**: A domain name pointing to your ingress controller's load balancer IP
35
33
-**OIDC Provider** (optional): For SSO authentication (e.g., Keycloak, Okta, Google)
36
34
@@ -78,99 +76,39 @@ Navigate to the observability project directory and edit the Argo CD values file
78
76
cd ../argocd/manual
79
77
80
78
# Edit the values file directly
81
-
nano argocd-prod-values.yaml
79
+
# (You may use any editor, e.g., nano, vi, vim)
80
+
Edit argocd-prod-values.yaml
82
81
```
83
82
84
83
### Step 4: Configure Your Deployment
85
84
86
-
Customize the following values in `argocd-prod-values.yaml`:
85
+
Open `argocd-prod-values.yaml` and adjust the settings to match your environment. The file is already commented to guide you through the necessary changes (Ingress hostname, Cert-Manager Issuer, OIDC configuration, etc.).
87
86
88
87
> [!WARNING]
89
-
> **Required Changes**: You MUST update these values before deployment, or the installation will fail or be misconfigured.
88
+
> **Required Changes**: You MUST update the values in `argocd-prod-values.yaml` (especially the hostname and issuer) before deployment, or the installation will fail or be misconfigured.
90
89
91
-
#### 4.1 Update Ingress Hostname
92
-
93
-
```yaml
94
-
server:
95
-
ingress:
96
-
hostname: "argocd.observe.camer.digital"# CHANGE THIS to your domain
97
-
tls:
98
-
- secretName: argocd-tls-cert
99
-
hosts:
100
-
- "argocd.observe.camer.digital"# CHANGE THIS to match above
101
-
```
102
-
103
-
Replace `argocd.observe.camer.digital` with your actual domain name.
104
-
105
-
#### 4.2 Update Ingress Class (if needed)
106
-
107
-
```yaml
108
-
server:
109
-
ingress:
110
-
ingressClassName: argocd-nginx # Verify this matches your ingress controller
111
-
```
112
-
113
-
Ensure `argocd-nginx` matches the IngressClass name of your installed Nginx Ingress Controller. You can check available IngressClasses with:
114
-
115
-
```bash
116
-
kubectl get ingressclass
117
-
```
118
-
119
-
#### 4.3 Update Cert-Manager Issuer
120
-
121
-
```yaml
122
-
server:
123
-
ingress:
124
-
annotations:
125
-
cert-manager.io/cluster-issuer: "letsencrypt-prod" # CHANGE THIS to your issuer name
126
-
```
127
-
128
-
Update `letsencrypt-prod` to match your cert-manager ClusterIssuer or Issuer name. You can list available issuers with:
129
-
130
-
```bash
131
-
# For ClusterIssuers
132
-
kubectl get clusterissuer
133
-
134
-
# For namespace-scoped Issuers
135
-
kubectl get issuer -n argocd
136
-
```
137
-
138
-
If using a namespace-scoped Issuer instead of ClusterIssuer, change the annotation to:
139
-
140
-
```yaml
141
-
cert-manager.io/issuer: "your-issuer-name" # CHANGE THIS to your issuer name
142
-
```
143
-
144
-
#### 4.4 Update Argo CD URL
145
-
146
-
```yaml
147
-
configs:
148
-
cm:
149
-
url: https://argocd.observe.camer.digital # CHANGE THIS to your domain
150
-
```
151
-
152
-
#### 4.5 Configure OIDC (Optional)
90
+
#### 4.1 Configure OIDC (Optional)
153
91
154
92
If you're using OIDC authentication (e.g., Keycloak), you need to deploy and configure Keycloak, then integrate it with Argo CD.
155
93
156
94
> [!IMPORTANT]
157
-
> **Keycloak Deployment and Configuration Required**: Before configuring Argo CD for OIDC, you must deploy and configure Keycloak with:
158
-
> - A realm (e.g., `argocd`)
159
-
> - A client (e.g., `argocd`) with appropriate redirect URIs and client secret
160
-
> - Users and groups for authentication
161
-
>
162
-
> For deployment and configuration instructions, see: [Keycloak Getting Started](https://www.keycloak.org/guides#getting-started) - Covers deployment and OIDC client setup for all platforms
95
+
> **Keycloak Setup Required**: Before proceeding, ensure Keycloak is deployed and configured. Refer to the [Keycloak Getting Started Guide](https://www.keycloak.org/guides#getting-started) for deployment instructions across all platforms.
96
+
>
97
+
> During setup, ensure the following entities are created:
98
+
> -**A Realm**: (e.g., `argocd`)
99
+
> -**An OIDC Client**: (e.g., `argocd`) with appropriate redirect URIs and a client secret.
100
+
> -**Users and Groups**: For authentication and access control.
163
101
164
-
After deploying and configuring Keycloak, update the following in the values file:
102
+
After deploying and configuring Keycloak, update your `argocd-prod-values.yaml` file with the following:
165
103
166
104
```yaml
167
105
configs:
168
106
cm:
169
107
oidc.config: |
170
108
name: Keycloak
171
-
issuer: https://keycloak.yourdomain.com/realms/argocd # CHANGE THIS TO YOUR KEYCLOAK DOMAIN ISSUER URL
109
+
issuer: https://keycloak.YOUR_KEYCLOAK_DOMAIN/realms/argocd # CHANGE THIS TO YOUR KEYCLOAK DOMAIN ISSUER URL
172
110
clientID: argocd # CHANGE THIS if different
173
-
clientSecret: your-client-secret # CHANGE THIS to your Keycloak client secret
111
+
clientSecret: YOUR_KEYCLOAK_CLIENT_SECRET # CHANGE THIS to your Keycloak client secret
0 commit comments