From 51cee6d5a486e08a25a1c25679a7afa18ba57387 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Mon, 2 Mar 2020 08:11:15 -0800 Subject: [PATCH] Change Container Linux etcd-member to fetch with docker:// * Quay has historically generated ACI signatures for images to facilitate rkt's notions of verification (it allowed authors to actually sign images, though `--trust-keys-from-https` is in use since etcd and most authors don't sign images). OCI standardization didn't adopt verification ideas and checking signatures has fallen out of favor. * Fix an issue where Quay no longer seems to be generating ACI signatures for new images (e.g. quay.io/coreos/etcd:v.3.4.4) * Don't be alarmed by rkt `--insecure-options=image`. It refers to disabling image signature checking (i.e. docker pull doesn't check signatures either) * System containers for Kubelet and bootstrap have transitioned to the docker:// transport, so there is precedent and this brings all the system containers on Container Linux controllers into alignment --- CHANGES.md | 1 + aws/container-linux/kubernetes/cl/controller.yaml | 2 ++ azure/container-linux/kubernetes/cl/controller.yaml | 2 ++ bare-metal/container-linux/kubernetes/cl/controller.yaml | 2 ++ digital-ocean/container-linux/kubernetes/cl/controller.yaml | 2 ++ google-cloud/container-linux/kubernetes/cl/controller.yaml | 2 ++ 6 files changed, 11 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 051dc813..f21beb51 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ Notable changes between versions. ## Latest * Update etcd from v3.4.3 to [v3.4.4](https://github.com/etcd-io/etcd/releases/tag/v3.4.4) + * On Container Linux, fetch using the docker transport format ([#659](https://github.com/poseidon/typhoon/pull/659)) * Update CoreDNS from v1.6.6 to v1.6.7 ([#648](https://github.com/poseidon/typhoon/pull/648)) #### AWS diff --git a/aws/container-linux/kubernetes/cl/controller.yaml b/aws/container-linux/kubernetes/cl/controller.yaml index fd24cef5..41c3319c 100644 --- a/aws/container-linux/kubernetes/cl/controller.yaml +++ b/aws/container-linux/kubernetes/cl/controller.yaml @@ -8,6 +8,8 @@ systemd: contents: | [Service] Environment="ETCD_IMAGE_TAG=v3.4.4" + Environment="ETCD_IMAGE_URL=docker://quay.io/coreos/etcd" + Environment="RKT_RUN_ARGS=--insecure-options=image" Environment="ETCD_NAME=${etcd_name}" Environment="ETCD_ADVERTISE_CLIENT_URLS=https://${etcd_domain}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=https://${etcd_domain}:2380" diff --git a/azure/container-linux/kubernetes/cl/controller.yaml b/azure/container-linux/kubernetes/cl/controller.yaml index dda5ccc7..a9b834d0 100644 --- a/azure/container-linux/kubernetes/cl/controller.yaml +++ b/azure/container-linux/kubernetes/cl/controller.yaml @@ -8,6 +8,8 @@ systemd: contents: | [Service] Environment="ETCD_IMAGE_TAG=v3.4.4" + Environment="ETCD_IMAGE_URL=docker://quay.io/coreos/etcd" + Environment="RKT_RUN_ARGS=--insecure-options=image" Environment="ETCD_NAME=${etcd_name}" Environment="ETCD_ADVERTISE_CLIENT_URLS=https://${etcd_domain}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=https://${etcd_domain}:2380" diff --git a/bare-metal/container-linux/kubernetes/cl/controller.yaml b/bare-metal/container-linux/kubernetes/cl/controller.yaml index 96f1b2c6..56920550 100644 --- a/bare-metal/container-linux/kubernetes/cl/controller.yaml +++ b/bare-metal/container-linux/kubernetes/cl/controller.yaml @@ -8,6 +8,8 @@ systemd: contents: | [Service] Environment="ETCD_IMAGE_TAG=v3.4.4" + Environment="ETCD_IMAGE_URL=docker://quay.io/coreos/etcd" + Environment="RKT_RUN_ARGS=--insecure-options=image" Environment="ETCD_NAME=${etcd_name}" Environment="ETCD_ADVERTISE_CLIENT_URLS=https://${domain_name}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=https://${domain_name}:2380" diff --git a/digital-ocean/container-linux/kubernetes/cl/controller.yaml b/digital-ocean/container-linux/kubernetes/cl/controller.yaml index 0e2bac64..3950c7dc 100644 --- a/digital-ocean/container-linux/kubernetes/cl/controller.yaml +++ b/digital-ocean/container-linux/kubernetes/cl/controller.yaml @@ -8,6 +8,8 @@ systemd: contents: | [Service] Environment="ETCD_IMAGE_TAG=v3.4.4" + Environment="ETCD_IMAGE_URL=docker://quay.io/coreos/etcd" + Environment="RKT_RUN_ARGS=--insecure-options=image" Environment="ETCD_NAME=${etcd_name}" Environment="ETCD_ADVERTISE_CLIENT_URLS=https://${etcd_domain}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=https://${etcd_domain}:2380" diff --git a/google-cloud/container-linux/kubernetes/cl/controller.yaml b/google-cloud/container-linux/kubernetes/cl/controller.yaml index d790dd37..e57ee429 100644 --- a/google-cloud/container-linux/kubernetes/cl/controller.yaml +++ b/google-cloud/container-linux/kubernetes/cl/controller.yaml @@ -8,6 +8,8 @@ systemd: contents: | [Service] Environment="ETCD_IMAGE_TAG=v3.4.4" + Environment="ETCD_IMAGE_URL=docker://quay.io/coreos/etcd" + Environment="RKT_RUN_ARGS=--insecure-options=image" Environment="ETCD_NAME=${etcd_name}" Environment="ETCD_ADVERTISE_CLIENT_URLS=https://${etcd_domain}:2379" Environment="ETCD_INITIAL_ADVERTISE_PEER_URLS=https://${etcd_domain}:2380"