From 593197904be73864cca077e1307763453172c51c Mon Sep 17 00:00:00 2001 From: Fabio Berchtold Date: Fri, 29 Mar 2024 12:36:46 +0100 Subject: [PATCH] bump item-monitor --- configuration.yml | 13 ------------- image-puller/values.yml | 2 +- item-monitor/image.lock.yml | 4 ++-- item-monitor/templates/secret.yml | 4 ++-- item-monitor/values.yml | 18 +++++++++++++++++- 5 files changed, 22 insertions(+), 19 deletions(-) diff --git a/configuration.yml b/configuration.yml index 285b888..abfb958 100644 --- a/configuration.yml +++ b/configuration.yml @@ -5,16 +5,3 @@ configuration: ingress: domains: - "jamesclonk.io" - - item_monitor: - monitors: - - name: galaxus - items: - - name: Scarpa Vapor V - url: https://www.galaxus.ch/de/s3/product/scarpa-vapor-v-kletterschuhe-42-kletterschuhe-10611477 - value: 125 - regex: - - name: Scarpa Arpia V - url: https://www.galaxus.ch/de/s3/product/scarpa-arpia-v-42-kletterschuhe-41901081 - value: 110 - regex: diff --git a/image-puller/values.yml b/image-puller/values.yml index b3cdc17..19aa1a3 100644 --- a/image-puller/values.yml +++ b/image-puller/values.yml @@ -23,7 +23,7 @@ image_puller: - "jamesclonk/pgbackup:aee0398bd7634f209ecd7e1ec03f55002c3c3a57" - "jamesclonk/mcbackup:f3b390668671bba69835320ab82824470f6404a4" - "jamesclonk/resume:7b30c92e6787eddaec36a9335d3d421c681e0efe" - - "jamesclonk/item-monitor:9353f75" + - "jamesclonk/item-monitor:1022361" #! other stuff - "jamesclonk/web-container:latest" diff --git a/item-monitor/image.lock.yml b/item-monitor/image.lock.yml index 6106a7a..e1789eb 100755 --- a/item-monitor/image.lock.yml +++ b/item-monitor/image.lock.yml @@ -2,6 +2,6 @@ apiVersion: kbld.k14s.io/v1alpha1 kind: Config minimumRequiredVersion: 0.32.0 overrides: -- image: jamesclonk/item-monitor:9353f75 - newImage: index.docker.io/jamesclonk/item-monitor@sha256:d42091cc41289c3f113d80a021a3b059d8b6ffdd211c40522a5b541ff083fc8e +- image: jamesclonk/item-monitor:1022361 + newImage: index.docker.io/jamesclonk/item-monitor@sha256:1efeda6dfbf95dca79d5427f7649d26e80c50a1bb2795a1cf598b92c863be0b2 preresolved: true diff --git a/item-monitor/templates/secret.yml b/item-monitor/templates/secret.yml index 4413c2e..6ec495a 100644 --- a/item-monitor/templates/secret.yml +++ b/item-monitor/templates/secret.yml @@ -22,8 +22,8 @@ stringData: log_timestamp: true interval: 4h monitors: - (@ for midx in range(len(data.values.configuration.item_monitor.monitors)): -@) - (@ monitor = data.values.configuration.item_monitor.monitors[midx] @) + (@ for midx in range(len(data.values.item_monitor.monitors)): -@) + (@ monitor = data.values.item_monitor.monitors[midx] @) - name: (@= monitor.name @) items: (@ for idx in range(len(monitor.items)): @) diff --git a/item-monitor/values.yml b/item-monitor/values.yml index 94cc243..fdd9d7b 100644 --- a/item-monitor/values.yml +++ b/item-monitor/values.yml @@ -1,4 +1,20 @@ #@data/values --- item_monitor: - image: "jamesclonk/item-monitor:9353f75" + image: "jamesclonk/item-monitor:1022361" + + monitors: + - name: galaxus + items: + - name: Scarpa Vapor V + url: https://www.galaxus.ch/de/s3/product/scarpa-vapor-v-kletterschuhe-42-kletterschuhe-10611477 + value: 125 + regex: + - name: Scarpa Vapor S + url: https://www.galaxus.ch/de/s3/product/scarpa-vapor-s-42-kletterschuhe-24594482 + value: 125 + regex: + - name: Scarpa Arpia V + url: https://www.galaxus.ch/de/s3/product/scarpa-arpia-v-42-kletterschuhe-41901081 + value: 110 + regex: