kubernetes / release

Release infrastructure for Kubernetes and related components
Apache License 2.0
485 stars 502 forks source link

Add file browser for `pkgs.k8s.io` #3317

Open xmudrii opened 1 year ago

xmudrii commented 1 year ago

What would you like to be added:

The legacy package repositories (and most of package repositories) supported browsing files, e.g. you can browser the APT repository by going over to apt.kubernetes.io. This is however not the case for pkgs.k8s.io because the underlying S3 bucket is private and pkgs.k8s.io points to a CDN.

We should research if it's possible to have a file browser in front of pkgs.k8s.io that would allow users to check contents of our repositories.

If this is not possible, we should at least try to avoid throwing 403 Forbidden when trying to access URLs of directories (e.g. https://pkgs.k8s.io/core:/stable:/v1.28/deb) because this is confusing for users (see #3219).

/priority backlog

saschagrunert commented 1 year ago

We have at least something like this as browsable interface: https://download.opensuse.org/repositories/isv:/kubernetes:/core:/stable:/

ajinjoseph commented 1 year ago

Hi ,

Is there any update on this issue ? I am still facing errors as below

root@node01 ~ ➜ sudo apt-get updateHit:2 https://download.docker.com/linux/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Err:1 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.27.0-00/deb InRelease 403 Forbidden [IP: 18.172.122.38 443] Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease Reading package lists... Done E: Failed to fetch https://pkgs.k8s.io/core:/stable:/v1.27.0-00/deb/InRelease 403 Forbidden [IP: 18.172.122.38 443] E: The repository 'https://pkgs.k8s.io/core:/stable:/v1.27.0-00/deb InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

xmudrii commented 1 year ago

@ajinjoseph Looks like your repo is not configured correctly, you shouldn't have v1.27.0-00, it should be only v1.27.0. Please follow the official installation guide to configure repositories.

k8s-triage-robot commented 9 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 9 months ago

/remove-lifecycle stale

k8s-triage-robot commented 6 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

sujoshua commented 6 months ago

/remove-lifecycle stale

k8s-triage-robot commented 3 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

xmudrii commented 3 months ago

/lifecycle frozen