Gluttony-Cluster/api/general-api/flux/general-api-image-update-automation.yaml
Tyler Perkins 97f6b6b0fb
All checks were successful
continuous-integration/drone/push Build is passing
Add flux automation
2023-11-03 20:15:22 -04:00

23 lines
510 B
YAML

apiVersion: image.toolkit.fluxcd.io/v1alpha1
kind: ImageUpdateAutomation
metadata:
name: general-api-image-update-automation
namespace: flux-system
spec:
sourceRef:
kind: GitRepository
name: flux-system
git:
checkout:
ref:
branch: main
commit:
author:
name: fluxcdbot
email: fluxcdbot@clortox.com
messageTemplate: 'Update image tag to {{range .Updated.Images}}{{println .}}{{end}}'
update:
path: ./api/general-api
strategy: Setters