diff --git a/libvirt/Chart.yaml b/libvirt/Chart.yaml index 94fdf01bc..19296ae5f 100644 --- a/libvirt/Chart.yaml +++ b/libvirt/Chart.yaml @@ -15,7 +15,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm libvirt name: libvirt -version: 0.1.36 +version: 0.1.37 home: https://libvirt.org sources: - https://libvirt.org/git/?p=libvirt.git;a=summary diff --git a/libvirt/templates/daemonset-libvirt.yaml b/libvirt/templates/daemonset-libvirt.yaml index e51e8840d..b12463a64 100644 --- a/libvirt/templates/daemonset-libvirt.yaml +++ b/libvirt/templates/daemonset-libvirt.yaml @@ -12,19 +12,12 @@ See the License for the specific language governing permissions and limitations under the License. */}} -{{- define "libvirtReadinessProbeTemplate" }} +{{- define "libvirtProbeTemplate" }} exec: command: - bash - -c - - /usr/bin/virsh list -{{- end }} -{{- define "libvirtLivenessProbeTemplate" }} -exec: - command: - - bash - - -c - - /usr/bin/virsh list + - /usr/bin/virsh connect {{- end }} {{- define "libvirt.daemonset" }} @@ -225,8 +218,8 @@ spec: - name: LIBVIRT_EXTERNAL_CEPH_CINDER_SECRET_UUID value: "{{ .Values.conf.ceph.cinder.external_ceph.secret_uuid }}" {{ end }} -{{ dict "envAll" . "component" "libvirt" "container" "libvirt" "type" "readiness" "probeTemplate" (include "libvirtReadinessProbeTemplate" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} -{{ dict "envAll" . "component" "libvirt" "container" "libvirt" "type" "liveness" "probeTemplate" (include "libvirtLivenessProbeTemplate" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} +{{ dict "envAll" . "component" "libvirt" "container" "libvirt" "type" "readiness" "probeTemplate" (include "libvirtProbeTemplate" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} +{{ dict "envAll" . "component" "libvirt" "container" "libvirt" "type" "liveness" "probeTemplate" (include "libvirtProbeTemplate" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }} command: - /tmp/libvirt.sh lifecycle: diff --git a/releasenotes/notes/libvirt.yaml b/releasenotes/notes/libvirt.yaml index 9f333913d..e016a4e8d 100644 --- a/releasenotes/notes/libvirt.yaml +++ b/releasenotes/notes/libvirt.yaml @@ -37,4 +37,5 @@ libvirt: - 0.1.34 Remove hugepages creation test - 0.1.35 Allow to initialize virtualization modules - 0.1.36 Allow to generate dynamic config options + - 0.1.37 Make readiness probes more tiny ...