Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Docker password rotation

Aperta
#3,519 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker, go

Direzione di ricerca

Inizia esaminando i flussi esistenti della CLI v3 per create-package, stage-package e set-droplet, insieme alle due issue collegate di Cloud Controller. Definisci come una singola azione di rotazione della password debba preservare l’immagine corrente ed evitare il riavvio dell’applicazione; nell’issue non sono indicati file di implementazione o test.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Since v2 goes to be removed. We would lack of an option to easily change currently used password for docker's user which is used to pull the image.

We have discussed this in following topics:
https://github.com/cloudfoundry/cloud_controller_ng/issues/4390
https://github.com/cloudfoundry/cloud_controller_ng/issues/3304

What's the user value of this feature request?
Currently to avoid restarting the application, there's an option to update the image registry user password by using v2 endpoint and it does all necessary steps behind scenes. In v3 this became more complicated and requires multiple actions to be performed.

Can be also achieved via cli, however, requires also multiple actions like:

  1. create new package - with new password and the image url from current droplet)
    cf create-package test --docker-image "<image_path>"
  2. stage that new package
    cf stage-package test --package-guid <new_package_guid>
  3. set current droplet to the one just staged
    cf set-droplet test <new_droplet_guid>

Would be nice to have this wrapped in something more elegant and easier to use.

Who is the functionality for?
Docker based applications

How often will this functionality be used by the user?
Whenever image registry user password is changed.

Who else is affected by the change?
I don't think so.

Is your feature request related to a problem? Please describe.
Whenever password needs to be rotated, there's also a need to sync it in CF. With v2 it was easy. With v3 it's more complex and would be nice to have some common option to perform such an action.

Describe the solution you'd like
I'd like to change docker user password without a need to restart the application. There's no reason to do it right away. However, actual options like cf restage or cf push does it immediately.

Lingua principale
Go
Stelle
1.9k
Fork
990
Merge medio
1g 7h
PR unite (30g)
8

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudfoundry/cli

Tutte le issue di cloudfoundry/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.