-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add wireserver and metadata connecitivity tests to cilium and swift p…
…ipeline (#2006) * Block wireserver connectivity from pods in cilium cluster * commenting arm build image step * enabling arm image build * fixed wget cmd and added test for overlay * fixed wget-job.yaml * fixed scripts * get job yaml for debugging on failure * Updated scripts. Included wireserver test for swift pipeline Reverted pipeline.yaml changes * update cilium agent to include init container which blocks wireserver access * update cilium agent with init container which blocks wireserver access
- Loading branch information
1 parent
8cf52c4
commit 2edb387
Showing
5 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
kubectl run wget -it --rm --image busybox --restart Never -- wget --timeout=3 --header=Metadata:true "http://168.63.129.16/machine/plugins?comp=nmagent&type=getinterfaceinfov1" | ||
if [ $? -eq 0 ]; then | ||
echo "wireserver connectivity expected to fail but succeeded" | ||
exit 1 | ||
fi | ||
|
||
kubectl run wget -it --rm --image busybox --restart Never -- wget --timeout=3 --header=Metadata:true "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | ||
if [ $? -ne 0 ]; then | ||
echo "metadata server connectivity expected to succeed but failed" | ||
fi |