Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions charts/argocd-image-updater/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: argocd-image-updater
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
type: application
version: 1.1.5
appVersion: v1.1.1
version: 1.1.6
appVersion: v1.2.0
home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
keywords:
Expand All @@ -18,5 +18,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: fixed
description: Remove duplicate nodePort key from Service template when service.type is NodePort
- kind: changed
description: Bump argocd-image-updater to v1.2.0
170 changes: 123 additions & 47 deletions charts/argocd-image-updater/templates/crd-imageupdaters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.1
controller-gen.kubebuilder.io/version: v0.19.0
{{- if .Values.crds.keep }}
"helm.sh/resource-policy": keep
{{- end }}
Expand All @@ -24,7 +24,20 @@ spec:
singular: imageupdater
scope: Namespaced
versions:
- name: v1alpha1
- additionalPrinterColumns:
- jsonPath: .status.applicationsMatched
name: Apps
type: integer
- jsonPath: .status.imagesManaged
name: Images
type: integer
- jsonPath: .status.lastCheckedAt
name: Last Checked
type: date
- jsonPath: .status.conditions[?(@.type=="Ready")].status
name: Ready
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: ImageUpdater is the Schema for the imageupdaters API
Expand Down Expand Up @@ -316,6 +329,25 @@ spec:
Branch to commit updates to.
Required if write-back method is Git and this is not specified at the spec level.
type: string
pullRequest:
description: |-
PullRequest configures creation of pull requests when writing back image updates to Git.
When set, the controller opens a PR instead of pushing to the branch.
If not specified write back config method is `git`.
properties:
github:
description: GitHub configures PR creation via the
GitHub API.
type: object
gitlab:
description: GitLab configures MR creation via the
GitLab API.
type: object
type: object
x-kubernetes-validations:
- message: Exactly one of github or gitlab must be set
rule: '(has(self.github) ? 1 : 0) + (has(self.gitlab)
? 1 : 0) == 1'
repository:
description: |-
Repository URL to commit changes to.
Expand All @@ -326,7 +358,7 @@ spec:
description: |-
WriteBackTarget defines the path and type of file to update in the Git repository.
Examples: "helmvalues:./helm/values.yaml", "kustomization:./kustomize/overlays/production".
For ApplicationSet usage, `{{ quote "{{ .app.path.path }}" }}` should be resolved by ApplicationSet
For ApplicationSet usage, `{{`{{ .app.path.path }}`}}` should be resolved by ApplicationSet
before this CR is generated, resulting in a concrete path here.
Required if write-back method is Git and this is not specified at the spec level.
type: string
Expand Down Expand Up @@ -400,14 +432,6 @@ spec:
This acts as the default if not overridden at a more specific level.
type: string
type: object
namespace:
description: |-
Namespace indicates the target namespace of the applications.

Deprecated: This field is deprecated and will be removed in a future release.
The controller now uses the ImageUpdater CR's namespace (metadata.namespace)
to determine which namespace to search for applications. This field is ignored.
type: string
writeBackConfig:
description: |-
WriteBackConfig provides global default settings for how and where to write back image updates.
Expand All @@ -423,6 +447,25 @@ spec:
Branch to commit updates to.
Required if write-back method is Git and this is not specified at the spec level.
type: string
pullRequest:
description: |-
PullRequest configures creation of pull requests when writing back image updates to Git.
When set, the controller opens a PR instead of pushing to the branch.
If not specified write back config method is `git`.
properties:
github:
description: GitHub configures PR creation via the GitHub
API.
type: object
gitlab:
description: GitLab configures MR creation via the GitLab
API.
type: object
type: object
x-kubernetes-validations:
- message: Exactly one of github or gitlab must be set
rule: '(has(self.github) ? 1 : 0) + (has(self.gitlab) ?
1 : 0) == 1'
repository:
description: |-
Repository URL to commit changes to.
Expand All @@ -433,7 +476,7 @@ spec:
description: |-
WriteBackTarget defines the path and type of file to update in the Git repository.
Examples: "helmvalues:./helm/values.yaml", "kustomization:./kustomize/overlays/production".
For ApplicationSet usage, `{{ quote "{{ .app.path.path }}" }}` should be resolved by ApplicationSet
For ApplicationSet usage, `{{`{{ .app.path.path }}`}}` should be resolved by ApplicationSet
before this CR is generated, resulting in a concrete path here.
Required if write-back method is Git and this is not specified at the spec level.
type: string
Expand All @@ -454,7 +497,15 @@ spec:
status:
description: ImageUpdaterStatus defines the observed state of ImageUpdater
properties:
applicationsMatched:
description: ApplicationsMatched is the number of Argo CD applications
matched by this CR's selectors.
format: int32
minimum: 0
type: integer
conditions:
description: Conditions represent the latest available observations
of the resource's state.
items:
description: Condition contains details for one aspect of the current
state of this API Resource.
Expand Down Expand Up @@ -510,48 +561,73 @@ spec:
- type
type: object
type: array
imageStatus:
description: ImageStatus indicates the detailed status for the list
of managed images
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
imagesManaged:
description: ImagesManaged is the number of images that were eligible
for update checking.
format: int32
minimum: 0
type: integer
lastCheckedAt:
description: LastCheckedAt indicates when the controller last checked
for image updates.
format: date-time
type: string
lastUpdatedAt:
description: LastUpdatedAt indicates when the controller last performed
an image update.
format: date-time
type: string
observedGeneration:
description: ObservedGeneration is the most recent generation observed
by the controller.
format: int64
minimum: 0
type: integer
recentUpdates:
description: RecentUpdates contains the list of image updates performed
during the last update cycle.
items:
description: ImageStatus contains information for an image:version
and its update status in hosting applications
description: RecentUpdate records a single image update performed
during the last update.
properties:
applications:
description: Applications contains a list of applications and
when the image was last updated therein
items:
description: ImageApplicationLastUpdated contains information
for an application and when the image was last updated therein
properties:
appName:
description: AppName indicates and namespace and the application
name
type: string
lastUpdatedAt:
description: LastUpdatedAt indicates when the image in
this application was last updated
format: date-time
type: string
required:
- appName
type: object
type: array
name:
description: Name indicates the image name
alias:
description: Alias is the alias of the image configuration that
was updated.
type: string
version:
description: Version indicates the image version
applicationsUpdated:
description: ApplicationsUpdated is the number of applications
in which this image was updated.
format: int32
minimum: 0
type: integer
image:
description: Image is the full image reference.
type: string
message:
description: Message provides a human-readable description of
the update action.
type: string
newVersion:
description: NewVersion is the new tag or digest the image was
updated to.
type: string
updatedAt:
description: UpdatedAt is the timestamp when the update was
applied.
format: date-time
type: string
required:
- name
- version
- alias
- applicationsUpdated
- image
- newVersion
- updatedAt
type: object
type: array
reconciledAt:
description: LastUpdatedAt indicates when the image updater last ran
format: date-time
type: string
x-kubernetes-list-type: atomic
type: object
type: object
served: true
Expand Down