From 7395c9d1d01d5075e1006b4d5353582f5e60418c Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:41:33 +0300 Subject: [PATCH] bump netboot (#2770) * bump netboot * workaround helm-test --- library/ix-dev/community/netbootxyz/Chart.yaml | 4 ++-- .../ix-dev/community/netbootxyz/templates/_netboot.tpl | 10 +++++++--- library/ix-dev/community/netbootxyz/values.yaml | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/library/ix-dev/community/netbootxyz/Chart.yaml b/library/ix-dev/community/netbootxyz/Chart.yaml index a218fa7e38..3cbaf0a4ba 100644 --- a/library/ix-dev/community/netbootxyz/Chart.yaml +++ b/library/ix-dev/community/netbootxyz/Chart.yaml @@ -4,9 +4,9 @@ description: netboot.xyz lets you PXE boot various operating system installers o annotations: title: netbootxyz type: application -version: 1.0.7 +version: 1.0.8 apiVersion: v2 -appVersion: 0.7.1.3 +appVersion: 0.7.3.1 kubeVersion: '>=1.16.0-0' maintainers: - name: truenas diff --git a/library/ix-dev/community/netbootxyz/templates/_netboot.tpl b/library/ix-dev/community/netbootxyz/templates/_netboot.tpl index 859e621322..b663888bda 100644 --- a/library/ix-dev/community/netbootxyz/templates/_netboot.tpl +++ b/library/ix-dev/community/netbootxyz/templates/_netboot.tpl @@ -38,6 +38,10 @@ workload: {{ end }} {{ end }} probes: + {{- $cmd := "dnsmasq" -}} + {{- if eq .Values.image.tag "0.7.1-nbxyz3" -}} + {{- $cmd = "in.tftpd" -}} + {{- end }} liveness: enabled: true type: exec @@ -45,7 +49,7 @@ workload: - /bin/sh - -c - | - pgrep in.tftpd + pgrep {{ $cmd }} readiness: enabled: true type: exec @@ -53,7 +57,7 @@ workload: - /bin/sh - -c - | - pgrep in.tftpd + pgrep {{ $cmd }} startup: enabled: true type: exec @@ -61,5 +65,5 @@ workload: - /bin/sh - -c - | - pgrep in.tftpd + pgrep {{ $cmd }} {{- end -}} diff --git a/library/ix-dev/community/netbootxyz/values.yaml b/library/ix-dev/community/netbootxyz/values.yaml index 75b77136ee..5bfc2e816a 100644 --- a/library/ix-dev/community/netbootxyz/values.yaml +++ b/library/ix-dev/community/netbootxyz/values.yaml @@ -1,7 +1,7 @@ image: repository: netbootxyz/netbootxyz pullPolicy: IfNotPresent - tag: 0.7.1-nbxyz3 + tag: 0.7.3-nbxyz1 resources: limits: