diff --git a/apps/connect/image.yaml b/apps/connect/image.yaml new file mode 100644 index 00000000..812bc535 --- /dev/null +++ b/apps/connect/image.yaml @@ -0,0 +1,23 @@ +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImageRepository +metadata: + name: connect + namespace: flux-system +spec: + image: ghcr.io/wisvch/connect + interval: 5m0s +--- +apiVersion: image.toolkit.fluxcd.io/v1beta1 +kind: ImagePolicy +metadata: + name: connect + namespace: flux-system +spec: + imageRepositoryRef: + name: connect + filterTags: + pattern: "^(?P.*)-[a-fA-F0-9]+" + extract: "$ts" + policy: + numerical: + order: asc diff --git a/apps/connect/kustomization.yaml b/apps/connect/kustomization.yaml index a020994d..f76997e5 100644 --- a/apps/connect/kustomization.yaml +++ b/apps/connect/kustomization.yaml @@ -1,6 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + - image.yaml - deploy.yaml - service.yaml - httproute.yaml