Skip to content

Commit

Permalink
Merge pull request #747 from mlibrary/apt_keychain
Browse files Browse the repository at this point in the history
commit additional apt keys
  • Loading branch information
rrotter authored Nov 14, 2024
2 parents af8666d + 5deb2a3 commit 44ac9be
Show file tree
Hide file tree
Showing 8 changed files with 154 additions and 12 deletions.
5 changes: 5 additions & 0 deletions files/apt/keyrings/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
key_name source_url
adoptium.asc https://packages.adoptium.net/artifactory/api/gpg/key/public
docker.asc https://download.docker.com/linux/debian/gpg
k8s.io.asc https://pkgs.k8s.io/core:/stable:/v1.31/deb/Release.key
puppetlabs.asc https://apt.puppetlabs.com/pubkey.gpg
62 changes: 62 additions & 0 deletions files/apt/keyrings/docker.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFit2ioBEADhWpZ8/wvZ6hUTiXOwQHXMAlaFHcPH9hAtr4F1y2+OYdbtMuth
lqqwp028AqyY+PRfVMtSYMbjuQuu5byyKR01BbqYhuS3jtqQmljZ/bJvXqnmiVXh
38UuLa+z077PxyxQhu5BbqntTPQMfiyqEiU+BKbq2WmANUKQf+1AmZY/IruOXbnq
L4C1+gJ8vfmXQt99npCaxEjaNRVYfOS8QcixNzHUYnb6emjlANyEVlZzeqo7XKl7
UrwV5inawTSzWNvtjEjj4nJL8NsLwscpLPQUhTQ+7BbQXAwAmeHCUTQIvvWXqw0N
cmhh4HgeQscQHYgOJjjDVfoY5MucvglbIgCqfzAHW9jxmRL4qbMZj+b1XoePEtht
ku4bIQN1X5P07fNWzlgaRL5Z4POXDDZTlIQ/El58j9kp4bnWRCJW0lya+f8ocodo
vZZ+Doi+fy4D5ZGrL4XEcIQP/Lv5uFyf+kQtl/94VFYVJOleAv8W92KdgDkhTcTD
G7c0tIkVEKNUq48b3aQ64NOZQW7fVjfoKwEZdOqPE72Pa45jrZzvUFxSpdiNk2tZ
XYukHjlxxEgBdC/J3cMMNRE1F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2oouYBwPxh5ytdehJkoo+sN7RIWua6P2WSmon5
U888cSylXC0+ADFdgLX9K2zrDVYUG1vo8CX0vzxFBaHwN6Px26fhIT1/hYUHQR1z
VfNDcyQmXqkOnZvvoMfz/Q0s9BhFJ/zU6AgQbIZE/hm1spsfgvtsD1frZfygXJ9f
irP+MSAI80xHSf91qSRZOj4Pl3ZJNbq4yYxv0b1pkMqeGdjdCYhLU+LZ4wbQmpCk
SVe2prlLureigXtmZfkqevRz7FrIZiu9ky8wnCAPwC7/zmS18rgP/17bOtL4/iIz
QhxAAoAMWVrGyJivSkjhSGx1uCojsWfsTAm11P7jsruIL61ZzMUVE2aM3Pmj5G+W
9AcZ58Em+1WsVnAXdUR//bMmhyr8wL/G1YO1V3JEJTRdxsSxdYa4deGBBY/Adpsw
24jxhOJR+lsJpqIUeb999+R8euDhRHG9eFO7DRu6weatUJ6suupoDTRWtr/4yGqe
dKxV3qQhNLSnaAzqW/1nA3iUB4k7kCaKZxhdhDbClf9P37qaRW467BLCVO/coL3y
Vm50dwdrNtKpMBh3ZpbB1uJvgi9mXtyBOMJ3v8RZeDzFiG8HdCtg9RvIt/AIFoHR
H3S+U79NT6i0KPzLImDfs8T7RlpyuMc4Ufs8ggyg9v3Ae6cN3eQyxcK3w0cbBwsh
/nQNfsA6uu+9H7NhbehBMhYnpNZyrHzCmzyXkauwRAqoCbGCNykTRwsur9gS41TQ
M8ssD1jFheOJf3hODnkKU+HKjvMROl1DK7zdmLdNzA1cvtZH/nCC9KPj1z8QC47S
xx+dTZSx4ONAhwbS/LN3PoKtn8LPjY9NP9uDWI+TWYquS2U+KHDrBDlsgozDbs/O
jCxcpDzNmXpWQHEtHU7649OXHP7UeNST1mCUCH5qdank0V1iejF6/CfTFU4MfcrG
YT90qFF93M3v01BbxP+EIY2/9tiIPbrd
=0YYh
-----END PGP PUBLIC KEY BLOCK-----
30 changes: 30 additions & 0 deletions files/apt/keyrings/k8s.io.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1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LuXKirsBC7z2syFiL
Ndl0ARnC3ENwuMVlSCwJO0MM5NiJuLOqOGYyD1XzSfnCzkXN0JGA/bfPRS5mPfoW
0OHIRZFhqE7ED6wyWpHIKT8rXkESFwszUwW/D7o1HagX7+duLt8WkrohGbxTJ215
YanOKSqyKd+6YGzDNUoGuMNPZJ5wTrThOkTzEFZ4HjmQ16w5xmcUISnCZd4nhsbS
qN/UyV9Vu3lnkautS15E4CcjP1RRzSkT0jka62vPtAzw+PiGryM1F7svuRaEnJD5
GXzj9RCUaR6vtFVvqqo4fvbA99k4XXj+dFAXW0TRZ/g2QMePW9cdWielcr+vHF4Z
2EnsAmdvF7r5e2JCOU3N8OUodebU6ws4VgRVG9gptQgfMR0vciBbNDG2Xuk1WDk1
qtscbfm5FVL36o7dkjA0x+TYCtqZIr4x3mmfAYFUqzxpfyXbSHqUJR2CoWxlyz72
XnJ7UEo/0UbgzGzscxLPDyJHMM5Dn/Ni9FVTVKlALHnFOYYSTluoYACF1DMt7NJ3
oyA0MELL0JQzEinixqxpZ1taOmVR/8pQVrqstqwqsp3RABaeZ80JbigUC29zJUVf
=Eplj
-----END PGP PUBLIC KEY BLOCK-----
52 changes: 52 additions & 0 deletions files/apt/keyrings/puppetlabs.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFyrv4oBEADhL8iyDPZ+GWN7L+A8dpEpggglxTtL7qYNyN5Uga2j0cusDdOD
ftPHsurLjfxtc2EFGdFK/N8y4LSpq+nOeazhkHcPeDiWC2AuN7+NGjH9LtvMUqKy
NWPhPYP2r/xPL547oDMdvLXDH5n+FsLFW8QgATHk4AvlIhGng0gWu80OqTCiL0HC
W7TftkF8ofP8k90SnLYbI9HDVOj6VYYtqG5NeoCHGAqrb79G/jq64Z/gLktD3IrB
CxYhKFfJtZ/BSDB8Aa4ht+jIyeFCNSbGyfFfWlHKvF3JngS/76Y7gxX1sbR3gHJQ
hO25AQdsPYKxgt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IW
pFSPXjlThnRR3UwIQHVgf+5OYMvIvaQ5yLWLMP1QdN/wZLKHLaKv6QxgXdLmr3F5
9qhoV3NbBvgkFlzvJrHYH75sJglX60W7QysXxYinlsPhQeTWjca5/VjUTOgGhLDM
Q/UCClcPA0Q12Q7U/eomYnmFDJdxPH6U9ZA6UQTdLWVCvK1chL3Fj1eq/11d/0S/
7CQvZObYRKX1kkaJAwSt7C6iq8nvrCWVVuxaXRqI/6Qi4Z6CSNB+2tk2W66J52Wm
PaodvnLlu+im3qtTWLLa3R+ZFRwNK9xPIR+XbA/HggOkG/JeAZYgB8shIVhuPdQc
zZi2hHIVUTPvhnxNgeioia2Zu++2WKpf6LEGNlwADFOVedfea0am23ImV2YOhEHz
hSvhdhiM3W8XtK3ZQbyUiumAXQrMhamoaHytdQUMEU/nmaLygKPHjUNixsliknU6
jxFIQStHSuF3b2hdM3W+Cw8ziUInpz5Dgw9uV0G3h/FGv0tjjgmbyTdUIjbQNUxk
pzA2H6IBEMaVTdNuGEqPU+xySSoOSU3eg3Hey4hR1CZln5cky0bwZRziCQYmfpn1
KE7aoxDPbBBJ0Y3k/i8CfnPiaBeWY+3o63Z9IeICg17nNva8OYpQnUVXXHhkJIc0
=u0aK
-----END PGP PUBLIC KEY BLOCK-----
6 changes: 2 additions & 4 deletions manifests/profile/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
location => 'http://apt.puppetlabs.com',
repos => $puppet_repo,
key => {
'name' => 'puppetlabs.gpg',
'source' => 'https://apt.puppetlabs.com/keyring.gpg'
'name' => 'puppetlabs.asc',
'source' => 'puppet:///modules/nebula/apt/keyrings/puppetlabs.asc'
}
}

Expand Down Expand Up @@ -129,8 +129,6 @@
repos => 'main',
key => {
'name' => 'adoptium.asc',
# Real source. Mirrored in files so we don't touch mtime on every puppet run.
# 'source' => 'https://packages.adoptium.net/artifactory/api/gpg/key/public',
'source' => 'puppet:///modules/nebula/apt/keyrings/adoptium.asc',
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/profile/containerd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
repos => 'stable',
key => {
name => 'docker.asc',
source => 'https://download.docker.com/linux/debian/gpg',
source => 'puppet:///modules/nebula/apt/keyrings/docker.asc',
},
include => {
src => false,
Expand Down
7 changes: 1 addition & 6 deletions manifests/profile/kubernetes/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@
#
# @example
# include nebula::profile::apt
#
# nebula::profile::kubernetes::apt::location: "https://pkgs.k8s.io/core:/stable:/v1.29/deb/"
class nebula::profile::kubernetes::apt (
String $location,
) {
apt::source { 'kubernetes':
location => $location,
release => '/',
repos => '',
# per https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
# this key does not change for new releases. This will only need to change
# if the listed version is removed from the deb server.
key => {
'name' => 'k8s.io.asc',
'source' => 'https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key',
'source' => 'puppet:///modules/nebula/apt/keyrings/k8s.io.asc',
},
}
}
2 changes: 1 addition & 1 deletion spec/classes/profile/kubernetes/kubelet_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
repos: '',
key: {
'name' => 'k8s.io.asc',
'source' => 'https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key',
'source' => 'puppet:///modules/nebula/apt/keyrings/k8s.io.asc',
},
)
end
Expand Down

0 comments on commit 44ac9be

Please sign in to comment.