Skip to content
Merged
Changes from 3 commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
087b1c1
npm to cilium validator script
rayaisaiah Jan 28, 2025
eb5f727
added a check for services with target ports
rayaisaiah Feb 3, 2025
69a71be
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 3, 2025
843741b
update for lint errors with repeat imports and using slice of pointer…
rayaisaiah Feb 3, 2025
49fa49a
made a function to reuse for Ingress and egress ports
rayaisaiah Feb 4, 2025
079e7c0
added some unit tests except for service check and made print stateme…
rayaisaiah Feb 4, 2025
07690ae
updated engress policy check with egress allow all policy and added a…
rayaisaiah Feb 4, 2025
5b5d2a7
changed file path
rayaisaiah Feb 4, 2025
d6ec15e
added namedport checks and added port to ingress check
rayaisaiah Feb 4, 2025
dd25cc8
responded to service comments
rayaisaiah Feb 5, 2025
afa4e9d
added a check for ingress deny all and updated port check function to…
rayaisaiah Feb 5, 2025
7625ef5
updated to return lists and use pointers but still broken for services
rayaisaiah Feb 5, 2025
b9231e2
added pointers to service check functions
rayaisaiah Feb 5, 2025
2f7d338
fixed pointer logic and added unit tests for the checks except service
rayaisaiah Feb 6, 2025
cd15f4a
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 6, 2025
c8bd575
fixed all linter errors
rayaisaiah Feb 6, 2025
f2cba91
updated difference function with comment to use a set
rayaisaiah Feb 6, 2025
1b64afb
fixed linter problems induced by previous commit
rayaisaiah Feb 6, 2025
a2d413f
added complete UTs for GetEndportNetworkPolicies, GetCIDRNetworkPolic…
rayaisaiah Feb 6, 2025
c329191
added baseline service tests and updated logic for unsafe and noselec…
rayaisaiah Feb 6, 2025
f79188b
added more service uts for nodeport and organized scenarios
rayaisaiah Feb 7, 2025
593f29e
updated migration check to be less than 200 characters per line (lint…
rayaisaiah Feb 7, 2025
840feab
updated getExternalTrafficPolicyClusterServices to be less than 200 c…
rayaisaiah Feb 7, 2025
894da23
removed unused parameter and added edge case scenarios to UTs
rayaisaiah Feb 7, 2025
bbe17e6
simplified logic
rayaisaiah Feb 7, 2025
3ee1deb
updated port detection when policy just has a protocol and to flag al…
rayaisaiah Feb 7, 2025
c4676cf
resolved nit: pointer to slice is also a pointer to pointer comment
rayaisaiah Feb 7, 2025
c72b33c
responded to comments return false when either port or target port is…
rayaisaiah Feb 7, 2025
51e0d16
added readme, go mod, go sum, and comments saying why target port wil…
rayaisaiah Feb 7, 2025
ede206d
updated readme
rayaisaiah Feb 7, 2025
5805952
updated functions using pointers for arrays
rayaisaiah Feb 7, 2025
1689071
nit changes
rayaisaiah Feb 7, 2025
f35989c
updated with match expressions edgecase
rayaisaiah Feb 7, 2025
160fd47
added uts where target port matches to protocol and port is 0
rayaisaiah Feb 7, 2025
979a8b3
added Scenarios where there are LoadBalancer or NodePort services wit…
rayaisaiah Feb 8, 2025
eac2c66
add check for ip no port policies on loadbalancer and fixes label and…
rayaisaiah Feb 10, 2025
4312ba8
updated table to use tablewriter
rayaisaiah Feb 10, 2025
c1b4d4a
updated to parse cidr to check for load balancer ip
rayaisaiah Feb 10, 2025
c74511e
removed no selector services from getUnsafeExternalTrafficPolicyClust…
rayaisaiah Feb 11, 2025
dc2af8d
removed noselector services array
rayaisaiah Feb 11, 2025
6873113
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 11, 2025
246965d
added service selectors to the appended list instead to simplify logic
rayaisaiah Feb 11, 2025
dabc25e
Revert "added service selectors to the appended list instead to simpl…
rayaisaiah Feb 11, 2025
809fc90
moved checkPolicyMatchServiceLabels check to the top since every bloc…
rayaisaiah Feb 11, 2025
ee59a88
updated the load balancer health probe ip logic
rayaisaiah Feb 11, 2025
4fe7634
added unit tests and logic if nodeport ensure there is no from rules
rayaisaiah Feb 12, 2025
62df911
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 12, 2025
1140a70
removed health probe ip check for loadbalancer services
rayaisaiah Feb 13, 2025
118f98a
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 13, 2025
cd0c2d5
added named port check
rayaisaiah Feb 13, 2025
6cb46db
nit comment
rayaisaiah Feb 13, 2025
2c92609
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 18, 2025
e08e97e
reduced output verbosity
rayaisaiah Feb 18, 2025
012c963
print total number of policies per namespace
rayaisaiah Feb 18, 2025
f0f8aa7
added service and pod count and created a table
rayaisaiah Feb 19, 2025
0d80410
improved formatting
rayaisaiah Feb 19, 2025
b203bde
typo
rayaisaiah Feb 19, 2025
ce049e0
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 20, 2025
9b68cc0
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 20, 2025
c889e1d
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 20, 2025
5e9ae22
updated table format and started to add npm telemetry
rayaisaiah Feb 22, 2025
3c60e69
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 22, 2025
9f60f68
updated verbose flag name and reorganized and removed unused functions
rayaisaiah Feb 24, 2025
73ff864
updated readme
rayaisaiah Feb 24, 2025
ed71c9a
fixed table formatting
rayaisaiah Feb 24, 2025
6cec80a
added ai id and formated tables to be printed after telemetry is sent
rayaisaiah Feb 25, 2025
70556da
ran tidy
rayaisaiah Feb 25, 2025
9de5cb8
reduced noise from telemetry runs
rayaisaiah Feb 25, 2025
c244424
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 25, 2025
0295b63
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 25, 2025
3ee497b
added a const and prefix to metrics
rayaisaiah Feb 26, 2025
a11ffd9
Merge branch 'isaiahraya/npm-cilium-migration-script' of https://gith…
rayaisaiah Feb 26, 2025
2bb7a07
Merge branch 'master' into isaiahraya/npm-cilium-migration-script
rayaisaiah Feb 26, 2025
92b366e
updated imageVersion per comment
rayaisaiah Feb 26, 2025
01a7b51
Merge branch 'isaiahraya/npm-cilium-migration-script' of https://gith…
rayaisaiah Feb 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading