Image Automation Controller giving no commit error #5081
Unanswered
shalineekaran
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My ImageAutomation yaml file is below:
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageUpdateAutomation
metadata:
name: flux-system
namespace: flux-system
spec:
git:
commit:
author:
email: [email protected]
name: shalinee
interval: 1m0s
sourceRef:
kind: GitRepository
name: flux-system
update:
path: ./sync/flux
strategy: Setters
So when i create a new tag for the image my policy go and update it. As i get a msg that in Image Policy.:
/apis/image.toolkit.fluxcd.io/v1beta2/namespaces/flux-system/imagepolicies/podinfo
status:
conditions:
lastTransitionTime: '2024-11-20T10:42:27Z'
message: >-
Latest image tag for 'harbor.cgitools.se/wharf/stefanprodan/podinfo'
updated from 5.0.5 to 5.0.6
But when i check image automation log its gives the error as :
"msg":"no changes made in working directory; no commit","controller":"imageupdateautomation","controllerGroup":"image.toolkit.fluxcd.io","controllerKind":"ImageUpdateAutomation","ImageUpdateAutomation":{"name":"flux-system","namespace":"flux-system"},"namespace":"flux-system","name":"flux-system","reconcileID":"aa337323-c393-4417-a882-074adbc9b253"}
{"level":"info","ts":"2024-11-20T14:14:15.408Z","msg":"no changes made in working directory; no commit","controller":"imageupdateautomation","controllerGroup":"image.toolkit.fluxcd.io","controllerK
Beta Was this translation helpful? Give feedback.
All reactions