Compare commits
1 commit
main
...
fix/unrest
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e99749585a |
5 changed files with 19 additions and 8 deletions
|
|
@ -34,6 +34,21 @@ spec:
|
|||
- world
|
||||
---
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumNetworkPolicy
|
||||
metadata:
|
||||
name: allow-world-egress
|
||||
namespace: {{ include "tenant.name" . }}
|
||||
spec:
|
||||
endpointSelector:
|
||||
matchExpressions:
|
||||
- key: policy.cozystack.io/allow-world-egress
|
||||
operator: In
|
||||
values: ["true"]
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
---
|
||||
apiVersion: cilium.io/v2
|
||||
kind: CiliumClusterwideNetworkPolicy
|
||||
metadata:
|
||||
name: {{ include "tenant.name" . }}-egress
|
||||
|
|
|
|||
|
|
@ -49,6 +49,3 @@ spec:
|
|||
- port: {{ quote . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
|
|
|
|||
|
|
@ -62,9 +62,10 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
policy.cozystack.io/allow-external-communication: "false"
|
||||
kubevirt.io/allow-pod-bridge-network-live-migration: "true"
|
||||
labels:
|
||||
policy.cozystack.io/allow-external-communication: "false"
|
||||
policy.cozystack.io/allow-world-egress: "true"
|
||||
{{- include "virtual-machine.labels" . | nindent 8 }}
|
||||
spec:
|
||||
domain:
|
||||
|
|
|
|||
|
|
@ -49,6 +49,3 @@ spec:
|
|||
- port: {{ quote . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
egress:
|
||||
- toEntities:
|
||||
- world
|
||||
|
|
|
|||
|
|
@ -26,9 +26,10 @@ spec:
|
|||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
policy.cozystack.io/allow-external-communication: "false"
|
||||
kubevirt.io/allow-pod-bridge-network-live-migration: "true"
|
||||
labels:
|
||||
policy.cozystack.io/allow-external-communication: "false"
|
||||
policy.cozystack.io/allow-world-egress: "true"
|
||||
{{- include "virtual-machine.labels" . | nindent 8 }}
|
||||
spec:
|
||||
domain:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue