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
|**CA Certificate**| Validates the principal's server certificate |`argocd-agent-ca`| ✅ |
12
12
|**Client Certificate**| Authenticates the agent to the principal (mTLS) |`argocd-agent-client-tls`| ✅¹ |
13
-
|**Authentication Credentials**| User/password authentication (alternative to mTLS) |`argocd-agent-agent-userpass`| ✅¹ |
13
+
|**Authentication Credentials**| User/password authentication (alternative to mTLS) **[DEPRECATED]**|`argocd-agent-agent-userpass`| ✅¹ |
14
14
15
15
¹ Either client certificate (mTLS) or authentication credentials (userpass) is required, depending on the authentication method configured.
16
16
17
+
!!! warning "Deprecation Notice"
18
+
The userpass authentication method is deprecated and not suited for use outside development environments. Use mTLS authentication for production deployments.
The userpass authentication method is deprecated and not suited for use outside development environments. Use mTLS authentication for production deployments.
388
397
389
398
If using userpass authentication, create the credentials secret:
The userpass authentication method is deprecated and not suited for use outside development environments.
432
444
433
445
```yaml
434
446
apiVersion: v1
@@ -499,7 +511,10 @@ data:
499
511
500
512
## Authentication Methods Configuration
501
513
502
-
### UserPass Authentication
514
+
### UserPass Authentication [DEPRECATED]
515
+
516
+
!!! warning "Deprecation Notice"
517
+
The userpass authentication method is deprecated and not suited for use outside development environments. Use mTLS authentication for production deployments.
503
518
504
519
Configure the agent to use username/password authentication:
505
520
@@ -562,13 +577,16 @@ argocd-agent agent \
562
577
563
578
### Authentication Security
564
579
565
-
**UserPass Authentication:**
580
+
**UserPass Authentication [DEPRECATED]:**
581
+
582
+
!!! warning "Deprecation Notice"
583
+
The userpass authentication method is deprecated and not suited for use outside development environments.
Copy file name to clipboardExpand all lines: docs/hack/quickstart.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
This is **not** a guide to set-up argocd-agent for a production environment. It is rather a guide to help you get going with contributing to and hacking on argocd-agent. This guide does not intend to provide pure copy & paste instructions. Instead, it will assume a little bit of willingness to hackery on your side, as well as some core knowledge about the underlying technologies (JWT, TLS, etc)
4
4
5
+
!!! warning "Important - Deprecation Notice"
6
+
This guide uses the userpass authentication method for simplicity in development environments. **The userpass authentication method is deprecated and not suited for use outside development environments.** For production deployments, use mTLS authentication instead.
7
+
5
8
Please note that some resource names might be out-of-date (e.g. have changed names, or were removed and replaced by something else). If you notice something, please figure it out and submit a PR to this guide. Thanks!
6
9
7
10
If you want to use [Open Cluster Management (OCM)](https://open-cluster-management.io/)
@@ -106,7 +109,7 @@ Keep the `ca.crt` file, as you will need it for the installation of agents, too.
106
109
Create the principal user password secret; replace `<PASSWORD>` with the password of your choice:
kubectl create -n argocd secret generic argocd-agent-principal-userpass --from-literal=passwd='<PASSWORD>'# DEPRECATED: userpass auth not suited for production
110
113
```
111
114
112
115
Now that the required secrets exist, it's time to apply the installation manifests and install the principal into the cluster:
@@ -149,7 +152,7 @@ we will use the `argocd` namespace to install all required resources into the cl
149
152
Create the agent user password secret; replace `<CREDENTIALS>` with the credentials of your choice:
kubectl create -n argocd secret generic argocd-agent-agent-userpass --from-literal=credentials='<CREDENTIALS>'# DEPRECATED: userpass auth not suited for production
153
156
```
154
157
155
158
Now that the required secrets exist, it's time to apply the installation manifests and install the agent into the cluster:
The userpass authentication method is deprecated and not suited for use outside development environments. Use mTLS authentication for production deployments.
0 commit comments