Skip to content

Commit 854b993

Browse files
committed
Incorporate feedback 2023-01-24
Signed-off-by: Marko Mudrinić <[email protected]>
1 parent fa62fb8 commit 854b993

File tree

1 file changed

+13
-9
lines changed
  • keps/sig-release/1731-publishing-packages

1 file changed

+13
-9
lines changed

keps/sig-release/1731-publishing-packages/README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Publishing kubernetes packages <!-- omit in toc -->
22

33
<!-- toc -->
4-
54
- [Release Signoff Checklist](#release-signoff-checklist)
65
- [Summary](#summary)
76
- [Motivation](#motivation)
@@ -423,23 +422,28 @@ corresponding package manager.
423422

424423
A configuration for the package managers might look something like:
425424

426-
- deb:
425+
- deb (deb822 formatted version):
427426
```
428-
# deb http://apt.kubernetes.io ${k8s_release} ${channel}
429-
deb [signed-by=/etc/keyrings/kubernetes-keyring.gpg] http://obs.kubernetes.io/core:/stable:/v1.26/deb/ /
427+
Types: deb
428+
URIs: http://packages.kubernetes.io/core:/stable:/v1.26/deb/
429+
Suites: ./
430+
Signed-By: /etc/keyrings/kubernetes-keyring.gpg
430431
```
431432
- rpm/yum:
432433
```
433434
[kubernetes]
434435
name=Kubernetes
435-
# baseurl=http://yum.kubernetes.io/${k8s_release}/${channel}
436-
baseurl=http://obs.kubernetes.io/core:/stable:/v1.26/rpm/
437-
enabled=1
436+
type=rpm-md
437+
baseurl=https://packages.kubernetes.io/core:/stable:/v1.26:/build/rpm/
438438
gpgcheck=1
439-
repo_gpgcheck=1
440-
gpgkey=file:///etc/pki/rpm-gpg/kubernetes.gpg.pub
439+
gpgkey=https://packages.kubernetes.io/core:/stable:/v1.26:/build/rpm/repodata/repomd.xml.key
440+
enabled=1
441441
```
442442

443+
**Note**: The (base) URL for packages will be changed from `{apt,yum}.kubernetes.io` to `packages.kubernetes.io`.
444+
This is to better support the OBS workflow. This is consider as a kind of breaking change, however, since there
445+
are other manual migration steps needed (e.g. changing the GPG key), we don't consider this as a problem.
446+
443447
Different architectures will be published into the same repos, it is up to the package managers to pull and install the correct package for the target platform.
444448

445449
### Risks and Mitigations

0 commit comments

Comments
 (0)