From 7732567483a745fa35765da5ef25943302361457 Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Wed, 1 Apr 2020 20:24:11 +0000 Subject: [PATCH] Remove personal keys from ephemeral userData There are personal authorized user keys in the ephemeral userData, but cloud init already configures password auth. This change removes the unnecessary keys. Change-Id: I0054e0dd87dee2dbdbb74cbfe6084e586db4720b Signed-off-by: Drew Walters --- manifests/function/ephemeral/secret.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/manifests/function/ephemeral/secret.yaml b/manifests/function/ephemeral/secret.yaml index 026482c07..fa4d77118 100644 --- a/manifests/function/ephemeral/secret.yaml +++ b/manifests/function/ephemeral/secret.yaml @@ -11,8 +11,6 @@ stringData: userData: | #cloud-config ssh_pwauth: True - ssh_authorized_keys: - - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4tV63Q3HSSM4V9EInw/pq7dawz8dnAn93Ki8UMLkXIEv+Vby2d+24IddHZig3Tshyn8of5TSLOL0ysOA2Hphh26khBOzG/SGv4cyShj5QU0/Y1ONepyRmkjmi/UmYKBq1xnUSVzqwzz+GUqyMuTAO1hV5xaD80JhKH0YyOghh/N+eYE2m14D5oNDV0l2Hhxix90Lcl7GUQybV3VMsXFJ19KAJYUCQolGn9kWOV3l35FI3vBD4g11OP+1/XHS/4+qBEdK9PNr6kxd0HsYjbqi6JGh9+SB3PvCtzDlIhz9SfmjI7hjOrdJ1vuPcG1gvJSA1x5bcsLJvy91kQx7z6adH root@ubuntu-1 chpasswd: list: | root:deploY!K8s @@ -22,8 +20,6 @@ stringData: - name: deployer gecos: deployer ssh_pwauth: True - ssh_authorized_keys: - - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4tV63Q3HSSM4V9EInw/pq7dawz8dnAn93Ki8UMLkXIEv+Vby2d+24IddHZig3Tshyn8of5TSLOL0ysOA2Hphh26khBOzG/SGv4cyShj5QU0/Y1ONepyRmkjmi/UmYKBq1xnUSVzqwzz+GUqyMuTAO1hV5xaD80JhKH0YyOghh/N+eYE2m14D5oNDV0l2Hhxix90Lcl7GUQybV3VMsXFJ19KAJYUCQolGn9kWOV3l35FI3vBD4g11OP+1/XHS/4+qBEdK9PNr6kxd0HsYjbqi6JGh9+SB3PvCtzDlIhz9SfmjI7hjOrdJ1vuPcG1gvJSA1x5bcsLJvy91kQx7z6adH root@ubuntu-1 runcmd: - curl -L https://github.com/flanksource/konfigadm/releases/download/v0.4.14/konfigadm -o /usr/local/bin/konfigadm && chmod +x /usr/local/bin/konfigadm