Commit Graph

5 Commits

Author SHA1 Message Date
Michael Bridgen 7ab3632b1b Rename ImageRepository -> ImageRepositoryRef
.. to follow gitops-toolkit convention.
2020-08-05 19:58:57 +01:00
Michael Bridgen 46cd9cbab1 Give ImagePolicy fields to specify the desired policy 2020-07-12 19:07:39 +01:00
Michael Bridgen 6658e4926a Add ImagePolicy type
kubebuilder create api --group image --version v1alpha1 --kind ImagePolicy
2020-07-12 18:30:19 +01:00
Michael Bridgen c9c5c4ad63 Actually scan the image repository
This commit adds a little code to scan the image repository given in
an ImageRepository resource, and report the (number of) tags there. It
does so anonymously, so it'll only work for public repos for the
minute.

The next step is to introduce ImagePolicy resources and figure out the
interaction with them -- e.g., if they only care about semver, you
might only need to get the tags.
2020-07-11 09:37:45 +01:00
Michael Bridgen a628d482d5 Add ImageRepository type
kubebuilder create api --group image \
      --version v1alpha1 --kind ImageRepository
2020-07-08 07:49:00 +01:00