Parcourir la source

fix tailscale update strategy (#1225)

Stavros Kois il y a 2 ans
Parent
commit
1fdbc6a485

+ 2 - 2
library/ix-dev/community/tailscale/Chart.yaml

@@ -3,9 +3,9 @@ description: Secure remote access to shared resources
 annotations:
   title: Tailscale
 type: application
-version: 1.0.3
+version: 1.0.4
 apiVersion: v2
-appVersion: 'v1.40.0'
+appVersion: 'v1.42.0'
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 1 - 1
library/ix-dev/community/tailscale/upgrade_strategy

@@ -11,7 +11,7 @@ RE_STABLE_VERSION = re.compile(r'v[0-9]+\.[0-9]+[02468]+\.[0-9]+')
 
 def newer_mapping(image_tags):
     key = list(image_tags.keys())[0]
-    tags = {t: t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
+    tags = {t.strip('v'): t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
     version = semantic_versioning(list(tags))
     if not version:
         return {}

+ 1 - 1
library/ix-dev/community/tailscale/values.yaml

@@ -1,7 +1,7 @@
 image:
   repository: tailscale/tailscale
   pullPolicy: IfNotPresent
-  tag: 'v1.40.0'
+  tag: 'v1.42.0'
 
 resources:
   limits: