Commit 1a793f20 authored by Zamir Martins Filho's avatar Zamir Martins Filho

Change OOTB to CiliumNetworkPolicy

The change is from `NetworkPolicy` to
`CiliumNetworkPolicy`
parent 29f5e454
......@@ -7,29 +7,30 @@ export const PREDEFINED_NETWORK_POLICIES = [
name: 'drop-outbound',
isEnabled: false,
manifest: `---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: drop-outbound
spec:
podSelector: {}
policyTypes:
- Egress`,
endpointSelector: {}
egress:
- {}`,
},
{
name: 'allow-inbound-http',
isEnabled: false,
manifest: `---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-inbound-http
spec:
podSelector: {}
endpointSelector: {}
ingress:
- ports:
- port: 80
- port: 443`,
- toPorts:
- ports:
- port: '80'
- port: '443'`,
},
];
......
---
title: Change OOTB from `NetworkPolicy` to `CiliumNetworkPolicy`
merge_request: 45579
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment