fix tailscale update strategy (#1225)

This commit is contained in:
Stavros Kois authored and GitHub committed 2023-05-29 14:44:30 +03:00
1 parent 2336cf8daa
commit 1fdbc6a485
3 files changed
+4 -4

No files matched your search

@@ -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
@@ -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,7 +1,7 @@
image:
repository: tailscale/tailscale
pullPolicy: IfNotPresent
tag: 'v1.40.0'
tag: 'v1.42.0'
resources:
limits: