Commit 17c90904 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'change_ootb_to_cilium_network_policies' into 'master'

Change OOTB to CiliumNetworkPolicy

See merge request gitlab-org/gitlab!45579
parents 8ce9ca77 1a793f20
......@@ -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