Skip to content
Closed
2 changes: 1 addition & 1 deletion chart/chart-index/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
version: 9.1.5
repository: https://argoproj.github.io/argo-helm
- name: argocd-image-updater
version: 1.0.1
version: 1.0.3
repository: oci://ghcr.io/argoproj/argo-helm/argocd-image-updater
- name: cert-manager
version: v1.19.2
Expand Down
6 changes: 3 additions & 3 deletions charts/argocd-image-updater/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
annotations:
artifacthub.io/changes: |
- kind: changed
description: Bump argocd-image-updater to v1.0.1
description: Bump argocd-image-updater to v1.0.2
artifacthub.io/signKey: |
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
apiVersion: v2
appVersion: v1.0.1
appVersion: v1.0.2
description: A Helm chart for Argo CD Image Updater, a tool to automatically update
the container images of Kubernetes workloads which are managed by Argo CD
home: https://github.com/argoproj-labs/argocd-image-updater
Expand All @@ -20,4 +20,4 @@ maintainers:
url: https://argoproj.github.io/
name: argocd-image-updater
type: application
version: 1.0.1
version: 1.0.3
29 changes: 27 additions & 2 deletions charts/argocd-image-updater/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,34 @@ docker run --rm --volume "$(pwd):/helm-docs" -u $(id -u) jnorwood/helm-docs:late
## Installation

```console
helm install oci://ghcr.io/argoproj/argo-helm/argocd-image-updater --namespace argocd-image-updater-system
helm install oci://ghcr.io/argoproj/argo-helm/argocd-image-updater --namespace <desired installation namespace>
```

If you still use the classic approach of installing Helm charts (non-OCI), you can do so by adding the Argo Helm repository and installing the chart with the following commands:

```console
helm repo add argo https://argoproj.github.io/argo-helm
helm install argocd-image-updater argo/argocd-image-updater --namespace argocd-image-updater-system
helm install argocd-image-updater argo/argocd-image-updater --namespace <desired installation namespace>
```

The Argo CD Image Updater controller **must** be run in the same Kubernetes cluster where your Argo CD `Application` resources are managed. The current controller architecture (v1.0+) does not support connecting to a remote Kubernetes cluster to manage applications.

### Choosing the installation namespace

> You have two options for where to install the Argo CD Image Updater:
>
> #### Option 1: Install into the Argo CD namespace (Recommended)
>
> The simplest approach is to install the image updater into the same namespace as your Argo CD installation. This
> requires minimal configuration. (..)
>
> #### Option 2: Install into a separate namespace
>
> For better workload isolation, you can install the image updater into its own namespace. This use case requires
> several manual configuration steps. (..)

For the full details, please read [Installation methods] in the upstream docs.

## Prerequisites

* Helm v3.0.0+
Expand All @@ -32,6 +48,13 @@ For full list of changes please check ArtifactHub [changelog].

Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.

### 1.0.3 (app version 1.0.2)

The upstream project changed the recommended installation namespace from `argocd-image-updater-system` to the same
namespace as Argo CD is installed in.

Please read [Installation methods] and/or [PR #1356] for more information.

### 1.0.0

This chart release includes the upstream breaking changes introduced in Argo CD Image Updater 1.0.0.
Expand Down Expand Up @@ -150,3 +173,5 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/

[Configuration of Container Registries]: https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/
[Support ECR authentication]: https://github.com/argoproj-labs/argocd-image-updater/issues/112
[Installation methods]: https://github.com/argoproj-labs/argocd-image-updater/blob/v1.0.2/docs/install/installation.md#installation-methods
[PR #1356]: https://github.com/argoproj-labs/argocd-image-updater/pull/1356
16 changes: 11 additions & 5 deletions charts/argocd-image-updater/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
- name: ARGOCD_NAMESPACE
valueFrom:
configMapKeyRef:
key: argocd.namespace
name: {{ .Values.config.name }}
optional: true
- name: IMAGE_UPDATER_INTERVAL
valueFrom:
configMapKeyRef:
key: interval
name: argocd-image-updater-config
name: {{ .Values.config.name }}
optional: true
- name: IMAGE_UPDATER_LOGLEVEL
valueFrom:
Expand All @@ -71,7 +77,7 @@ spec:
valueFrom:
configMapKeyRef:
key: max_concurrent_reconciles
name: a{{ .Values.config.name }}
name: {{ .Values.config.name }}
optional: true
- name: GIT_COMMIT_USER
valueFrom:
Expand Down Expand Up @@ -112,13 +118,13 @@ spec:
- name: ENABLE_WEBHOOK
valueFrom:
configMapKeyRef:
name: argocd-image-updater-config
name: {{ .Values.config.name }}
key: webhook.enable
optional: true
- name: WEBHOOK_PORT
valueFrom:
configMapKeyRef:
name: argocd-image-updater-config
name: {{ .Values.config.name }}
key: webhook.port
optional: true
- name: QUAY_WEBHOOK_SECRET
Expand Down Expand Up @@ -148,7 +154,7 @@ spec:
- name: WEBHOOK_RATELIMIT_ALLOWED
valueFrom:
configMapKeyRef:
name: argocd-image-updater-config
name: {{ .Values.config.name }}
key: webhook.ratelimit-allowed
optional: true
{{- with .Values.extraEnv }}
Expand Down
2 changes: 0 additions & 2 deletions charts/argocd-image-updater/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ metadata:
labels:
{{- include "argocd-image-updater.labels" . | nindent 4 }}
name: {{ include "argocd-image-updater.fullname" . }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -110,7 +109,6 @@ metadata:
labels:
{{- include "argocd-image-updater.labels" . | nindent 4 }}
name: {{ include "argocd-image-updater.fullname" . }}
namespace: {{ include "argocd-image-updater.namespace" . | quote }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down