Skip to content

Commit

Permalink
Check for the recommended security requirements of the container-nati…
Browse files Browse the repository at this point in the history
…ve operators
  • Loading branch information
shimritproj committed May 20, 2024
1 parent 71af25d commit 5854570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cnf-certification-test/operator/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,8 @@ func findAllPods(env *provider.TestEnvironment, operator *provider.Operator) []*
for _, put := range env.AllPods {
fmt.Printf("pod: %v", put)
for _, ownerRef := range put.ObjectMeta.GetOwnerReferences() {
for _, ownerRefOperator := range operator.Csv.GetAllCRDDescriptions() {
for i := range operator.Csv.GetAllCRDDescriptions() {
ownerRefOperator := &operator.Csv.GetAllCRDDescriptions()[i]
if ownerRef.Kind == ownerRefOperator.Kind && ownerRef.Name == ownerRefOperator.Name {
AllPods = append(AllPods, put)
break
Expand Down

0 comments on commit 5854570

Please sign in to comment.