From 45f72c02f8cc3260f12a079e97ad08c1035fa669 Mon Sep 17 00:00:00 2001 From: Hamid Emamian Date: Wed, 17 Apr 2024 15:20:49 +0330 Subject: [PATCH 1/2] added rust installation and PATH manipulation --- scripts/ci/docker/zombienet_injected.Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/ci/docker/zombienet_injected.Dockerfile b/scripts/ci/docker/zombienet_injected.Dockerfile index fa591bde4..ae586c250 100644 --- a/scripts/ci/docker/zombienet_injected.Dockerfile +++ b/scripts/ci/docker/zombienet_injected.Dockerfile @@ -14,11 +14,15 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +# install rust +ENV RUST_VERSION=1.75.0 +RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION -y + # install gcloud and kubectl WORKDIR /home/nonroot/ ENV CLOUDSDK_INSTALL_DIR /usr/local/gcloud RUN curl -sSL https://sdk.cloud.google.com | bash -ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin +ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin:/root/.cargo/bin RUN gcloud components install kubectl # Non-root user for security purposes. From 1e6113081b93dc73284e3fc216ef5f12944de9fc Mon Sep 17 00:00:00 2001 From: Hamid Emamian Date: Wed, 17 Apr 2024 15:27:37 +0330 Subject: [PATCH 2/2] deleted the keys --- admissioncontroller/keys/server.crt | 33 ------------------ admissioncontroller/keys/server.key | 52 ----------------------------- 2 files changed, 85 deletions(-) delete mode 100644 admissioncontroller/keys/server.crt delete mode 100644 admissioncontroller/keys/server.key diff --git a/admissioncontroller/keys/server.crt b/admissioncontroller/keys/server.crt deleted file mode 100644 index 6b3802ceb..000000000 --- a/admissioncontroller/keys/server.crt +++ /dev/null @@ -1,33 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIFqDCCA5CgAwIBAgIUY8xAGirtPjY9LJgXL2Z20fqq2sEwDQYJKoZIhvcNAQEL -BQAwQzFBM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mdlLXRlc3RuZXQt -aG9vay5sYXJnZS10ZXN0bmV0LWFkbWlzc2lvbmNvbnRyb2xsZXIuc3ZjLmNsdXN0 -ZXIubG9jYWwwDQYJKoZIhvcNAQELBQADggIBABqWe9400pKXSM/tyCXomyKAyCq1 -mhDimTwX8PiB2VV/cfezeuLB3TMRcBSFz2N8+bNh0YqWAcXjqptzu8b4IqMXDyKR -OSgSQkBL+rT6albpE5htGjecDl0FzWGyE/lZ/BHQnjPlfjXQihqBR3vZB7L9+0XJ -0GBecxgsnYIsPh0yqmiz6KpYGq+VrL7owIWixGjRo7i6LwwdIIavtnDXRAReYEca -ebjSlaVIwrKniZMVnD/vE6EvM2cZJaOBYVH8UcYHU2b03FvM6hhQq8MLcF6git8r -AkVZ6rnqzdvqIIhbuM8jBJhJ2VDdjUdTA39pz7Njvljxo1W+FAhUiBtc9YsYF5oi -iGGm9A+hSXMP4InX3NkntMSDBIsBvcWz9r3K53mQInUdiOxONwFdLpJ6NEajx+DN -kfGMMBu4k/RLREqmA6pfT6i3qJDBYCRk1Jd6LU+R8xKmpugVsSbEXo8zpbM1T/Ww -0Yh65gX1wwryHTO7tvnT/jAHnzWQAwbC8au3nWK/nu+Ksn1fWf6p3XBT5Gii9sO4 -AGRklkgtMZZIcoQFN7iOROV8oFkNwaN0Viq19GiV2/yldq/Sgo5mQLKjOVllrkfE -wlF7V53QE/8C4F82ANhUt84wVXKoP620rOce33o7EQLpadG+kmxhCxOw9SFsmQGO -/eqbmMMT7BSW9hsH ------END CERTIFICATE----- diff --git a/admissioncontroller/keys/server.key b/admissioncontroller/keys/server.key deleted file mode 100644 index 8200dcdff..000000000 --- a/admissioncontroller/keys/server.key +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIJRAIBADANBgkqhkiG9w0BAQEFAASCCS4wggkqAgEAAoICAQC3oMBpmFgjg4He -tesSnO86ayA/We2InmJuJc8uCL0GEqcj+YmzDPiyeiuX2RWJC6E21MqdAglF5kia -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