Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1a793f20
Commit
1a793f20
authored
Oct 19, 2020
by
Zamir Martins Filho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change OOTB to CiliumNetworkPolicy
The change is from `NetworkPolicy` to `CiliumNetworkPolicy`
parent
29f5e454
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
ee/app/assets/javascripts/threat_monitoring/constants.js
ee/app/assets/javascripts/threat_monitoring/constants.js
+12
-11
ee/changelogs/unreleased/change_ootb_to_cilium_network_policies.yml
...ogs/unreleased/change_ootb_to_cilium_network_policies.yml
+5
-0
No files found.
ee/app/assets/javascripts/threat_monitoring/constants.js
View file @
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:
Cilium
NetworkPolicy
metadata:
name: drop-outbound
spec:
pod
Selector: {}
policyType
s:
-
Egress
`
,
endpoint
Selector: {}
egres
s:
-
{}
`
,
},
{
name
:
'
allow-inbound-http
'
,
isEnabled
:
false
,
manifest
:
`---
apiVersion:
networking.k8s.io/v1
kind: NetworkPolicy
apiVersion:
cilium.io/v2
kind:
Cilium
NetworkPolicy
metadata:
name: allow-inbound-http
spec:
pod
Selector: {}
endpoint
Selector: {}
ingress:
- ports:
- port: 80
- port: 443`
,
- toPorts:
- ports:
- port: '80'
- port: '443'`
,
},
];
...
...
ee/changelogs/unreleased/change_ootb_to_cilium_network_policies.yml
0 → 100644
View file @
1a793f20
---
title
:
Change OOTB from `NetworkPolicy` to `CiliumNetworkPolicy`
merge_request
:
45579
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment