Revision b58bff5ed942c84aef56015d236c573ea024270f authored by Joe Stringer on 18 May 2018, 18:27:13 UTC, committed by Romain Lenglet on 18 May 2018, 23:01:08 UTC
When adding an L7 rule to an L4 policy, the recent endpoint logic
changes did not properly propagate the need to recompile the BPF
program, so entirely skipped it, leading to #4181.

Fix it by tracking whether the L4 policy changes in regeneratePolicy()
and including this in the final "needToRegenerateBPF" result.

Fixes: #4181

Signed-off-by: Joe Stringer <joe@covalent.io>
1 parent ae39ed9
History
File Mode Size
gce-deployment
k8s
k8s-policy
policy
00-check-examples.sh -rwxr-xr-x 1.2 KB
00-pull-docker-images.sh -rwxr-xr-x 672 bytes
00-script-linter.sh -rwxr-xr-x 1.2 KB
01-ct.sh -rwxr-xr-x 10.7 KB
02-perf.sh -rwxr-xr-x 5.8 KB
03-docker.sh -rwxr-xr-x 2.5 KB
05-cni.sh -rwxr-xr-x 3.6 KB
06-lb.sh -rwxr-xr-x 21.0 KB
07-kafka.sh -rwxr-xr-x 4.0 KB
08-nat46.sh -rwxr-xr-x 2.8 KB
09-perf-gce.sh -rwxr-xr-x 7.9 KB
10-proxy.sh -rwxr-xr-x 8.6 KB
11-getting-started.sh -rwxr-xr-x 4.6 KB
12-policy-import.sh -rwxr-xr-x 9.0 KB
13-fd-open.sh -rwxr-xr-x 775 bytes
13-monitor-filtering.sh -rwxr-xr-x 3.7 KB
14-policy-enforcement-docker.sh -rwxr-xr-x 10.0 KB
15-check-container-id.sh -rwxr-xr-x 3.6 KB
16-cidr-ingress-policy.sh -rwxr-xr-x 8.4 KB
17-cilium_policy-id-remove.sh -rwxr-xr-x 2.4 KB
17-multiple-monitors.sh -rwxr-xr-x 1.6 KB
18-kvstore-fail.sh -rwxr-xr-x 1.9 KB
19-identity-get.sh -rwxr-xr-x 2.6 KB
20-cidr-limit.sh -rwxr-xr-x 3.1 KB
20-identity-list.sh -rwxr-xr-x 2.5 KB
21-ct-clean-up-nc.py -rw-r--r-- 909 bytes
21-ct-clean-up.sh -rwxr-xr-x 28.5 KB
96-restore-endpoints.sh -rwxr-xr-x 1.4 KB
97-clean-leftovers.sh -rwxr-xr-x 1.1 KB
98-documentation-link-check.sh -rwxr-xr-x 405 bytes
999-deadlock-check.sh -rwxr-xr-x 570 bytes
Makefile -rw-r--r-- 93 bytes
copy_files -rwxr-xr-x 658 bytes
helpers.bash -rw-r--r-- 33.1 KB
run-tests -rwxr-xr-x 671 bytes
start_vms -rwxr-xr-x 269 bytes
wait-for-k8s-pod.bash -rwxr-xr-x 543 bytes

back to top