Sfoglia il codice sorgente

bump netboot (#2770)

* bump netboot

* workaround helm-test
Stavros Kois 1 anno fa
parent
commit
7395c9d1d0

+ 2 - 2
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

+ 7 - 3
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 -}}

+ 1 - 1
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: