jetstack / jetstack/version-checker

[FEATURE] Auto discovery of credentials using image pull secrets for private repos

Ouverte
#322 0 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Go
Étoiles
778
Forks
82
Merge moyen
2 min
PR mergées (30 j)
3

Description

**Is your feature request related to a problem? Please describe.**
A cluster may contain pods with images from a large number of private repos (e.g. multi-tenant clusters), where configuring version-checker for each private repo can be quite tedious/possibly a never ending activity.

**Describe the solution you'd like**
Given that pods running in a cluster that are sourced from private repos already have credentials provided, it should be possible to automatically discover the credentials using the pods image pull secrets.

**Describe alternatives you've considered**
Nothing really viable I can think of.

**Additional context**
Given that this requires access to Kubernetes secrets, it should be toggleable on/off in the chart as not everyone may want to grant read access to secrets (or need to). If this feature is accepted, it may also be worth considering supporting OpenShifts [global image pull secret
](https://docs.openshift.com/container-platform/4.16/openshift_images/managing_images/using-image-pull-secrets.html#images-update-global-pull-secret_using-image-pull-secrets) so that any registries configured there can be authenticated to. Again the idea is to make it automatic, so that credentials would not need to be copied to version-checkers helm values file for every private registry/repo.

---

**Message from the maintainers**:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

No files or tests are named. Start by tracing how the project discovers Kubernetes pods and reads its Helm chart configuration, then review the permissions needed for image pull secrets. Done should include an opt-in setting that discovers usable credentials without requiring each registry or repository to be configured manually.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go, kubernetes
Domaine
authentication, infrastructure
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.