generated from IBM/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preparation to support istio egress gateway (#604)
* Bug fix in livesim: Changed missing pods labels dictionary to set of pairs (key, value) to allow missing pods having the same label key but different label values. Bug fix in IngressNetworkLayer._allowed_xgress_conns_optimized: all_allowed_conns should always include allowed_conns. Signed-off-by: Tanya <[email protected]> * Small fixes and preparations for implementing istio egress gateway. Bug fix: considering DNS entries when computing allowed connections in the Ingress layer. Removing duplicates from the list of missing livesim resources. Signed-off-by: Tanya <[email protected]> * More fixes of handling DNS entries in optimized solution. Signed-off-by: Tanya <[email protected]> * Uppdating expected results of some livesim tests following the addition of istio-egressgateway resource to livesim, and changing the namespace of istio-ingressgateway to istio-system. Signed-off-by: Tanya <[email protected]> * Small fixes. Signed-off-by: Tanya <[email protected]> * Referencing istio ingress gateway as istio:ingressgateway (to be aligned with livesim, until #610 is implemented). Extending IngressPolicy to both directions (ingress/egress) Splitting livesim ingress/egress gateway resources to separated files. Signed-off-by: Tanya <[email protected]> * Changing expected results of some istio ingress/egress gateway tests according to the change in livesim implementation of these gateways. Temporarily commenting out other expected results, until ingress/egress gateway implementation is completes. Signed-off-by: Tanya <[email protected]> * Changing expected results of some istio ingress/egress gateway tests according to the change in livesim implementation of these gateways. Signed-off-by: Tanya <[email protected]> * Renamed IngressPolicy to IstioGatewayPolicy. Signed-off-by: Tanya <[email protected]> * Renamed IstioGatewayPolicy to GatewayPolicy. Signed-off-by: Tanya <[email protected]> * Update nca/Resources/GatewayPolicy.py Co-authored-by: Adi Sosnovich <[email protected]> * Update nca/NetworkConfig/NetworkConfigQuery.py Co-authored-by: Adi Sosnovich <[email protected]> * Renamed Ingress layer to Gateway layer. Signed-off-by: Tanya <[email protected]> --------- Signed-off-by: Tanya <[email protected]> Co-authored-by: Adi Sosnovich <[email protected]>
- Loading branch information
1 parent
c1e0c25
commit dac0824
Showing
18 changed files
with
178 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
nca/NetworkConfig/LiveSim/istio_gateway/istio_egress_gateway.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: istio-egressgateway-livesim | ||
namespace: istio-system | ||
labels: | ||
app: istio-egressgateway | ||
istio: egressgateway | ||
spec: | ||
serviceAccountName: istio-egressgateway | ||
containers: | ||
- name: istio-proxy | ||
image: auto | ||
--- | ||
|
||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: istio-egressgateway | ||
namespace: istio-system | ||
spec: | ||
ports: | ||
- port: 443 | ||
selector: | ||
app: istio-egressgateway | ||
istio: egressgateway | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.