REQ: autoCD
#314
Replies: 1 comment 1 reply
-
Interesting approach with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our long outstanding AutoCD user story needs proper requirements and so I will give it a first try.
We want to use the toolkit.fluxcd.io to do autoCD by (periodically) scanning registries for updates image tags, and update those in our values repo when they match a given pattern.
Extra context: to avoid drone deployment (as its heavy) for team services, we wish to create a task that periodically retrieves the scan results and patches the service in question.
Scope clarifications
The first iteration is doing interval-based scanning only. The next phase we will add handling of incoming webhooks to process changes when they happen.
Suspected changes/additions
MVP
image-reflector-controller
andImageRepository
CRs: repository details + regcred that should be pre-created.ImagePolicy
CRs: image to scan with the strategy + pattern to use (it will update theImagePolicy
CR'sstatus
field with results).ImageUpdateAutomation
CR that will pick up new image tag and update the value repo'senv/clouds/$CLOUD/$CLUSTER/services.$team.yaml
at the right marker (see example).otomi/tasks
nametasks:autoCD
that retrievesImagePolicy
CRs and reads the image tag from status field, and patches service.tasks:autoCD
Next
tasks:autoCD
with its paramsReceiver
CR that will configure incoming harbor webhook to trigger automationjob-harbor
enriched with config for automation webhook to run when HARBOR ENABLED.Use cases to be demonstrated
MVP
ImageRepository
is automatically createdImagePolicy
is automatically createdImageUpdateAutomation
is automatically createdtasks:autoCD
After
tasks:autoCD
.Beta Was this translation helpful? Give feedback.
All reactions