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 = [ ...@@ -7,29 +7,30 @@ export const PREDEFINED_NETWORK_POLICIES = [
name: 'drop-outbound', name: 'drop-outbound',
isEnabled: false, isEnabled: false,
manifest: `--- manifest: `---
apiVersion: networking.k8s.io/v1 apiVersion: cilium.io/v2
kind: NetworkPolicy kind: CiliumNetworkPolicy
metadata: metadata:
name: drop-outbound name: drop-outbound
spec: spec:
podSelector: {} endpointSelector: {}
policyTypes: egress:
- Egress`, - {}`,
}, },
{ {
name: 'allow-inbound-http', name: 'allow-inbound-http',
isEnabled: false, isEnabled: false,
manifest: `--- manifest: `---
apiVersion: networking.k8s.io/v1 apiVersion: cilium.io/v2
kind: NetworkPolicy kind: CiliumNetworkPolicy
metadata: metadata:
name: allow-inbound-http name: allow-inbound-http
spec: spec:
podSelector: {} endpointSelector: {}
ingress: ingress:
- ports: - toPorts:
- port: 80 - ports:
- port: 443`, - 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