diff options
| author | jannfis <jann@mistrust.net> | 2020-08-05 22:02:55 +0200 |
|---|---|---|
| committer | jannfis <jann@mistrust.net> | 2020-08-05 22:02:55 +0200 |
| commit | 91320b6fc02f8452889e5dca9fa115f7df11e5e7 (patch) | |
| tree | e24f22c46ad8a9423258bc58be2807f987b080b9 /docs | |
| parent | 40a9d88866e864045ede91b9986285b270efd67b (diff) | |
Add instructions for configuring ArgoCD endpoint via CM
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/install/start.md | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/docs/install/start.md b/docs/install/start.md index 326f85f..3033183 100644 --- a/docs/install/start.md +++ b/docs/install/start.md @@ -94,6 +94,35 @@ kubectl apply -n argocd-image-updater -f manifests/install.yaml instance. Just leave the number of replicas at 1, otherwise weird side effects could occur. +### Configure ArgoCD endpoint + +If you run ArgoCD Image Updater in another cluster than ArgoCD, or if your +ArgoCD installation is not in namespace `argocd` or if you use a default or +otherwise self-signed TLS certificate for ArgoCD API endpoint, you probably +need to divert from the default connection values. + +Edit the `argocd-image-updater-config` ConfigMap and add the following keys +(the values are dependent upon your environment) + +```yaml +data: + # The address of ArgoCD API endpoint - defaults to argocd-server.argocd + argocd.server_addr: <FQDN or IP of your ArgoCD server> + # Whether to use GRPC-web protocol instead of GRPC over HTTP/2 + argocd.grpc_web: true + # Whether to ignore invalid TLS cert from ArgoCD API endpoint + argocd.insecure: false + # Whether to use plain text connection (http) instead of TLS (https) + argocd.plaintext: false +``` + +After changing values in the ConfigMap, ArgoCD Image Updater needs to be +restarted for the changes to take effect, i.e. + +```shell +kubectl -n argocd-image-updater rollout restart deployment argocd-image-updater +``` + ### Configure API access token secret When installed from the manifests into a Kubernetes cluster, the ArgoCD Image @@ -114,7 +143,7 @@ kubectl create secret generic argocd-image-updater-secret \ You must restart the `argocd-image-updater` pod after such a change, i.e run ```shell -kubectl rollout restart deployment argocd-image-updater +kubectl -n argocd-image-updater rollout restart deployment argocd-image-updater ``` Or alternatively, simply delete the running pod to have it recreated by |
