Skip to content

Commit

Permalink
Merge pull request #75 from geetikakay/validation_install_hpp
Browse files Browse the repository at this point in the history
Add a check to wait and validate HPP status
  • Loading branch information
newkit authored Dec 18, 2024
2 parents 2e3d145 + 9e8f057 commit 8b3f8ae
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,19 @@
nodeSelector:
kubernetes.io/os: linux

- name: Wait for HostPathProvisioner status to become Available
kubernetes.core.k8s_info:
api_version: hostpathprovisioner.kubevirt.io/v1beta1
kind: HostPathProvisioner
name: hostpath-provisioner
wait: true
wait_condition:
type: Available
status: "True"
reason: Complete
wait_sleep: 30
wait_timeout: 300

- name: Create storage class for HPP
kubernetes.core.k8s:
state: present
Expand Down

0 comments on commit 8b3f8ae

Please sign in to comment.