mirror of
https://github.com/truenas/charts.git
synced 2026-02-12 23:06:13 +08:00
@@ -3,7 +3,7 @@ description: netboot.xyz lets you PXE boot various operating system installers o
|
||||
annotations:
|
||||
title: netbootxyz
|
||||
type: application
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
apiVersion: v2
|
||||
appVersion: 2.0.76
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
|
||||
@@ -15,6 +15,8 @@ capabilities:
|
||||
description: TFTP requires this ability to switch user for sub-processes.
|
||||
- name: SETGID
|
||||
description: TFTP requires this ability to switch group for sub-processes.
|
||||
- name: SYS_CHROOT
|
||||
description: TFTP requires this ability to spawn child processes.
|
||||
- name: NET_BIND_SERVICE
|
||||
description: TFTP requires this ability to bind to port 69 for TFTP.
|
||||
- name: KILL
|
||||
|
||||
@@ -23,6 +23,7 @@ workload:
|
||||
- FOWNER
|
||||
- SETGID
|
||||
- SETUID
|
||||
- SYS_CHROOT
|
||||
- NET_BIND_SERVICE
|
||||
- KILL
|
||||
env:
|
||||
|
||||
@@ -6,12 +6,12 @@ import sys
|
||||
from catalog_update.upgrade_strategy import semantic_versioning
|
||||
|
||||
|
||||
RE_STABLE_VERSION = re.compile(r'\d+\.\d+\.\d+-nbxyz2')
|
||||
RE_STABLE_VERSION = re.compile(r'\d+\.\d+\.\d+-nbxyz\d')
|
||||
|
||||
|
||||
def newer_mapping(image_tags):
|
||||
key = list(image_tags.keys())[0]
|
||||
tags = {t.strip('-nbxyz2'): t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
|
||||
tags = {t.replace("-nbxyz", "."): t for t in image_tags[key] if RE_STABLE_VERSION.fullmatch(t)}
|
||||
version = semantic_versioning(list(tags))
|
||||
if not version:
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user