Skip to content

Commit

Permalink
Update URL of gpg key to use for kubectl install
Browse files Browse the repository at this point in the history
Google are now serving the key in ascii armored format instead of
the previous binary format and as a result has broken the E2E docker
image build. To avoid installing additional tools such as gpg,
switch to the backup k8s URL which was implemented in response to
previous issues with the Google-hosted key being unavailable.
  • Loading branch information
AlanGreene authored and tekton-robot committed May 29, 2023
1 parent d43e0ca commit 1195c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# limitations under the License.

FROM cypress/browsers:node18.12.0-chrome107
RUN curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg &&\
RUN curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://dl.k8s.io/apt/doc/apt-key.gpg &&\
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list &&\
apt-get update && apt-get install -y \
kubectl \
Expand Down

0 comments on commit 1195c84

Please sign in to comment.