Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Docker password rotation

Đang mở
#3,519 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, go
Lĩnh vực
authentication, cli

Hướng nghiên cứu

Bắt đầu bằng việc xem xét các luồng CLI v3 hiện có cho create-package, stage-package và set-droplet, cùng với hai issue Cloud Controller được liên kết. Xác định cách một hành động xoay vòng mật khẩu duy nhất phải giữ nguyên image hiện tại và tránh khởi động lại ứng dụng; issue không nêu tên file triển khai hoặc bài kiểm thử nào.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
1.9k
Fork
989
Merge trung bình
4 ngày 15 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cloudfoundry/cli

Tất cả issue của cloudfoundry/cli

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.