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
diff --git a/kata-webhook/main.go b/kata-webhook/main.go | |
index 71cad03..b2ba8af 100644 | |
--- a/kata-webhook/main.go | |
+++ b/kata-webhook/main.go | |
@@ -49,6 +49,10 @@ func annotatePodMutator(ctx context.Context, obj metav1.Object) (bool, error) { | |
return false, nil | |
} | |
+ if pod.GetNamespace() == "sonobuoy" { | |
+ fmt.Println("sonobuoy pods will not be changed to kata," pod.GetNamespace(), pod.GetName()) |
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
diff --git a/kata-webhook/deploy/webhook.yaml b/kata-webhook/deploy/webhook.yaml | |
index 2bc682d..5330858 100644 | |
--- a/kata-webhook/deploy/webhook.yaml | |
+++ b/kata-webhook/deploy/webhook.yaml | |
@@ -20,7 +20,7 @@ spec: | |
spec: | |
containers: | |
- name: pod-annotate-webhook | |
- image: katadocker/kata-webhook-example:latest | |
+ image: fuentess/kata-webhook:20200707 |
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
Summarizing 22 Failures: | |
[Fail] [sig-storage] Downward API volume [It] should provide container's cpu limit [NodeConformance] [Conformance] | |
/workspace/anago-v1.17.3-beta.0.40+c94b9acd4b784f/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:894 | |
[Fail] [sig-storage] EmptyDir volumes [It] should support (root,0666,tmpfs) [LinuxOnly] [NodeConformance] [Conformance] | |
/workspace/anago-v1.17.3-beta.0.40+c94b9acd4b784f/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:154 | |
[Fail] [sig-storage] EmptyDir volumes [It] volume on tmpfs should have the correct mode [LinuxOnly] [NodeConformance] [Conformance] | |
/workspace/anago-v1.17.3-beta.0.40+c94b9acd4b784f/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/pods.go:154 |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQENBF7f80EBCACzrIDXHRwUW7EZz7etRoRtXmktZAe3tykfHbMKXFcckv49BV2Z | |
KJOcDay8TrJ5+AtUKhLDr8c0MlGttYDTQaPi/x7FbuUBVB2SZ9XGb3XukeKLHkJu | |
IQEWgQDqeWYcb0LhhBdIsaWxfyIqrqV9R/0KegGm5pXV9B4TOcv0wbVkAxO/3/QG | |
ezt0RIB6dNyCeHc8LZM8IoybFczoZ2+zISXdU0w5SgcnsOs4wBsmgEF9RkUYN3Yn | |
hbV37HTL56YlVeryaYE/GmF8CG1SbPS17VzEUWOig20g7On9il743RvjpuzkOML5 | |
81AODwPue8AIvLBbwzL8HCgsSFoqKqoX7k/RABEBAAG0NFNhbHZhZG9yIEZ1ZW50 | |
ZXMgR2FyY2lhIDxzYWx2YWRvci5mdWVudGVzQGludGVsLmNvbT6JAVQEEwEIAD4W | |
IQSvIMSXnJvmKefLU3SmQvcdCygf+QUCXt/zQQIbAwUJA8JnAAULCQgHAgYVCgkI |
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
message="message.txt" | |
encrypted_msg="message.gpg" | |
receiver_pub_key="receiver_key.pub" | |
receiver_email="salvador.fuentes@intel.com" | |
# 1. Receiver - Create public key. | |
gpg --gen-key | |
# 2. Receiver - Export public key and share it with the Sender | |
gpg --armor --output "$receiver_pub_key" --export "$receiver_email" |
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
$ cat /etc/containerd/config_runtimeclass.toml | |
root = "/var/lib/containerd" | |
state = "/run/containerd" | |
oom_score = 0 | |
[grpc] | |
address = "/run/containerd/containerd.sock" | |
uid = 0 | |
gid = 0 | |
max_recv_message_size = 16777216 |
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
#!/bin/bash | |
# This script will install kata-containers v1.0 and | |
# latest docker-ce. Then it will run the docker | |
# integration tests from the kata-containers/tests repository. | |
# Install Kata Containers | |
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list" | |
curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add - | |
sudo -E apt-get update |
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
#!/bin/bash | |
set -x -e | |
# Install Bundles: | |
# os-utils-gui-dev is installed as it is the only bundle that contains pkg-config | |
sudo swupd bundle-add containers-virt cloud-native-basic os-clr-on-clr-dev os-utils-gui-dev | |
# Replace installed docker docker 1.12.6 which does | |
docker_version="1.12.6" |