File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ func (p *Provider) Status() (string, error) {
4343 return "" , err
4444 }
4545
46+ if len (env .Status .Conditions ) == 0 {
47+ return "" , nil
48+ }
49+
4650 return env .Status .Conditions [0 ].Type , nil
4751}
4852
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ func (p *Provider) Status() (string, error) {
4343 return "" , err
4444 }
4545
46+ if len (env .Status .Conditions ) == 0 {
47+ return "" , nil
48+ }
49+
4650 return env .Status .Conditions [0 ].Type , nil
4751}
4852
Original file line number Diff line number Diff line change 1+ apiVersion : holodeck.nvidia.com/v1alpha1
2+ kind : Environment
3+ metadata :
4+ name : k8s-nim-operator-e2e
5+ description : " end-to-end test infrastructure"
6+ spec :
7+ provider : vsphere
8+ auth :
9+ keyName : cnt-ci
10+ privateKey : /Users/eduardoa/.ssh/gpu_runner
11+ VsphereVirtualMachine :
12+ vCenterURL : " pdx01egxvc01.nvidia.com"
13+ datacenter : " PDX01"
14+ datastore : " PDX01EGX_vSAN_001"
15+ cluster : " PDX01EGX001"
16+ network : " PDX01EGXDVS001_Internal_307_10.185.111.0_24"
17+ vmFolder : " GitHub ARC"
18+ resoursePool : " CNT-ARC"
19+ templateImage : " GPU_UBUNTU_TEMPLATE"
20+ containerRuntime :
21+ install : true
22+ name : containerd
23+ nvidiaContainerToolkit :
24+ install : true
25+ nvidiaDriver :
26+ install : true
27+ kubernetes :
28+ install : true
29+ installer : kubeadm
30+ version : v1.30.3
You can’t perform that action at this time.
0 commit comments