-
Notifications
You must be signed in to change notification settings - Fork 8
65 lines (58 loc) · 1.88 KB
/
check-for-updates.yml
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
54
55
56
57
58
59
60
61
62
63
64
65
name: Check for updates of remote charts
on:
schedule:
- cron: "0 0 * * 5" # every Friday at 00:00
jobs:
ingress-nginx:
runs-on: ubuntu-latest
name: Do snapshot ingress-nginx and create PR if snapshot changed
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Snapshot
uses: jlandowner/helm-chartsnap-action@v1
id: helm-chartsnap-action
with:
chart: ingress-nginx
repo: https://kubernetes.github.io/ingress-nginx
values: example/remote/ingress-nginx.values.yaml
additional_args: "--namespace ingress-nginx --skip-tests"
update_snapshot: true
cilium:
runs-on: ubuntu-latest
name: Do snapshot cilium and create PR if snapshot changed
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Snapshot
uses: jlandowner/helm-chartsnap-action@v1
id: helm-chartsnap-action
with:
chart: cilium
repo: https://helm.cilium.io
values: example/remote/cilium.values.yaml
additional_args: "--namespace kube-system"
update_snapshot: true
nginx-gateway-fabric:
runs-on: ubuntu-latest
name: Do snapshot nginx-gateway-fabric and create PR if snapshot changed
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Snapshot
uses: jlandowner/helm-chartsnap-action@v1
id: helm-chartsnap-action
with:
chart: oci://ghcr.io/nginxinc/charts/nginx-gateway-fabric
values: example/remote/nginx-gateway-fabric.values.yaml
additional_args: "--namespace nginx-gateway"
update_snapshot: true