Skip to content

Commit

Permalink
Try to use binary installed by cilium rock
Browse files Browse the repository at this point in the history
  • Loading branch information
berkayoz committed Apr 3, 2024
1 parent e9eb827 commit 6fe5824
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
4 changes: 3 additions & 1 deletion k8s/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ k8s::remove::network() {
done

rm -rf /var/run/cilium/cilium.pid
"${SNAP}/usr/bin/cilium-dbg" cleanup --all-state --force
if [ -f /opt/cni/bin/cilium-dbg ]; then
/opt/cni/bin/cilium-dbg cleanup --all-state --force || true
fi
}

# [DANGER] Cleanup containers and runtime state. Note that the order of operations below is crucial.
Expand Down
9 changes: 0 additions & 9 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,6 @@ parts:
source: build-scripts
override-build: ./build-component.sh runc

cilium-dbg:
after: [build-deps]
plugin: make
source-type: git
source: https://github.com/cilium/cilium.git
source-tag: v1.15.2
source-depth: 1
source-subdir: cilium-dbg

bash-utils:
plugin: nil
stage-packages:
Expand Down

0 comments on commit 6fe5824

Please sign in to comment.