Skip to content

Commit 2bda5df

Browse files
committed
Remove hard-coding of managed-cluster for <cluster-name>
1 parent 2a34d37 commit 2bda5df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/configuration/agent/pki-certificates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ spec:
258258
issuerRef:
259259
name: argocd-agent-ca
260260
kind: Issuer
261-
commonName: managed-cluster
261+
commonName: <cluster-name>
262262
subject:
263263
organizationalUnits:
264264
- <Organizational Unit>
@@ -269,7 +269,7 @@ spec:
269269
Output the secret to a file as we need to install it on the cluster where the Agent resides:
270270

271271
```
272-
kubectl get secret managed-cluster-agent -o yaml -n argocd | oc neat > <cluster-name>-agent.yaml
272+
kubectl get secret <cluster-name>-agent -o yaml -n argocd | oc neat > <cluster-name>-agent.yaml
273273
```
274274

275275
!!! note "Using kubectl-neat"

0 commit comments

Comments
 (0)