-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathminio-image-automation.yaml
53 lines (53 loc) · 1.12 KB
/
minio-image-automation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImageRepository
metadata:
name: image-repo-minio
namespace: flux-system
spec:
image: quay.io/minio/minio
interval: 100m0s
accessFrom:
namespaceSelectors:
- matchLabels: {}
---
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImagePolicy
metadata:
name: image-policy-minio
namespace: flux-system
spec:
imageRepositoryRef:
name: image-repo-minio
filterTags:
pattern: '^RELEASE\.(?P<timestamp>.*)Z$'
extract: '$timestamp'
policy:
alphabetical:
order: asc
---
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageUpdateAutomation
metadata:
name: minio-image-automation
namespace: flux-system
spec:
interval: 15m
sourceRef:
kind: GitRepository
name: flux-system
git:
checkout:
ref:
branch: main
commit:
author:
email: [email protected]
name: flux
messageTemplate: '{{range .Changed.Changes}}{{print .OldValue}} -> {{println .NewValue}}{{end}}'
push:
branch: images-update-minio
update:
path: ./apps/minio
strategy: Setters
...