README.md.gotmpl 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {{ template "chart.header" . }}
  2. {{ template "chart.description" . }}
  3. To regenerate this document, from the root of this chart directory run:
  4. ```shell
  5. docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:latest
  6. ```
  7. ## Installation
  8. ```console
  9. helm repo add argo https://argoproj.github.io/argo-helm
  10. helm install argocd-image-updater argo/argocd-image-updater
  11. ```
  12. You will also need to run through the [secret setup documentation] so Argo CD Image Updater can talk to the Argo CD API (until its automated in this chart).
  13. ## Prerequisites
  14. * Helm v3.0.0+
  15. ## Configuration options
  16. In order for your deployment of Argo CD Image Updater to be successful, you will need to make sure you set the correct configuration options described in detail on the [argocd-image-updater flags page].
  17. All of the `argocd-` prefixed flags, which tell `argocd-image-updater` how your Argo CD instance is setup, are set in the `config.argocd` values block. For instance:
  18. ```yaml
  19. config:
  20. argocd:
  21. grpcWeb: false
  22. serverAddress: "http://argocd.argo"
  23. insecure: true
  24. plaintext: true
  25. ```
  26. Any additional arguments mentioned on the [argocd-image-updater flags page] can be configured using the `extraArgs` value, like so.
  27. ### Argo CD API key
  28. If you are unable to install Argo CD Image Updater into the same Kubernetes cluster you might configure it to use API of your Argo CD installation.
  29. Please also read [Configuration of Container Registries].
  30. ```yaml
  31. config:
  32. argocd:
  33. token: <your_secret_here>
  34. ```
  35. If you specify a token value the secret will be created.
  36. ### Registries
  37. Argo CD Image Updater natively supports the following registries (as mentioned in [Configuration of Container Registries]):
  38. - Docker Hub
  39. - Google Container Registry
  40. - RedHat Quay
  41. - GitHub Container Registry
  42. - GitHub Docker Packages
  43. If you need support for ECR, you can reference this issue, [Support ECR authentication], for configuration. You can use the `authScripts` values to configure the scripts that are needed to authenticate with ECR.
  44. The `config.registries` value can be used exactly as it looks in the documentation as it gets dumped directly into a configmap in this chart.
  45. {{ template "chart.valuesSection" . }}
  46. ----------------------------------------------
  47. Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
  48. [MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
  49. [RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
  50. [secret setup documentation]: https://argocd-image-updater.readthedocs.io/en/stable/install/installation/#method-2-connect-using-argo-cd-api-server
  51. [argocd-image-updater flags page]: https://argocd-image-updater.readthedocs.io/en/stable/install/reference/#flags
  52. [Configuration of Container Registries]: https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/
  53. [Support ECR authentication]: https://github.com/argoproj-labs/argocd-image-updater/issues/112