...
- URL:
http://<Node_IP>:<NodePort>
orhttp://<LoadBalancer_IP>
- Username:
admin
- Password: Use the password retrieved in the previous step.
Apply the Proxy Settings (optional)
You can edit the ArgoCD deployment to add the necessary environment variables to the containers.
- Edit the argocd-repo-server and argocd-application-controller deployments:
kubectl edit deployment argocd-repo-server -n argocd kubectl edit deployment argocd-application-controller -n argocd
- Add the following environment variables under the
spec.containers
section in both deployments:
Code Block | ||||
---|---|---|---|---|
| ||||
spec:
containers:
- name: argocd-repo-server
env:
- name: HTTP_PROXY
value: "http://your-http-proxy:port"
- name: HTTPS_PROXY
value: "http://your-https-proxy:port"
- name: NO_PROXY
value: "localhost,127.0.0.1,.svc,.cluster.local" |
Code Block | ||||
---|---|---|---|---|
| ||||
env:
- name: HTTP_PROXY
value: "http://squid.lnf.infn.it:3128"
- name: HTTPS_PROXY
value: "http://squid.lnf.infn.it:3128"
- name: NO_PROXY
value: "baltig.infn.it,localhost,127.0.0.0/24,::1,*.lnf.infn.it,10.0.0.0/8,192.168.0.0/16" |
Restart the ArgoCD Components
After updating the deployments, restart the affected components to apply the changes:
kubectl rollout restart deployment argocd-repo-server -n argocd
kubectl rollout restart deployment argocd-application-controller -n argocd