File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1256,7 +1256,7 @@ func (np *WebSphereLibertyApplicationNetworkPolicy) GetFromNamespaceLabels() map
12561256	if  np .FromNamespaceLabels  !=  nil  {
12571257		return  * np .FromNamespaceLabels 
12581258	}
1259- 	// fallback to deprecated flag np.NamespaceLabels for when we only supported one type of network policy (ingress)  
1259+ 	// fallback to deprecated flag np.NamespaceLabels if configured  
12601260	if  np .NamespaceLabels  !=  nil  {
12611261		return  * np .NamespaceLabels 
12621262	}
@@ -1286,6 +1286,7 @@ func (np *WebSphereLibertyApplicationNetworkPolicy) IsEgressDisabled() bool {
12861286	return  np .DisableEgress  !=  nil  &&  * np .DisableEgress 
12871287}
12881288
1289+ // IsBypassingDenyAllEgress returns whether the application Pods should ignore a deny-all Egress 
12891290func  (np  * WebSphereLibertyApplicationNetworkPolicy ) IsBypassingDenyAllEgress () bool  {
12901291	return  np .BypassDenyAllEgress  !=  nil  &&  * np .BypassDenyAllEgress 
12911292}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments