Docker password rotation
メンテナーはふだん 8 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, go
- 領域
- authentication, cli
調査の方向性
まず、create-package、stage-package、set-droplet の既存の v3 CLI フローと、リンクされている 2 件の Cloud Controller issue を確認します。単一のパスワードローテーションアクションで現在のイメージを維持し、アプリケーションの再起動を回避する方法を定義します。この issue では、実装ファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
説明
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:
- create new package - with new password and the image url from current droplet)
cf create-package test --docker-image "<image_path>" - stage that new package
cf stage-package test --package-guid <new_package_guid> - 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.
- 主要言語
- Go
- スター
- 1.9k
- フォーク
- 989
- 平均マージ
- 3日 17時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudfoundry/cli のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
cloudfoundry/cli#3866 ·
メンテナーはふだん 8 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
cloudfoundry/cli#3863 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 8 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
cloudfoundry/cli#3851 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 8 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
cloudfoundry/cli#3794 ·
メンテナーはふだん 8 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
cloudfoundry/cli#3787 · コメント 1 件 ·
メンテナーはふだん 8 日以内に返信
cloudfoundry/cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
521xueweihan/HelloGitHub#3789 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 12 日以内に返信
-
stage-fail
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
siyuan-note/bazaar#2282 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openshift/kube-compare#307 ·
メンテナーはふだん 1 日以内に返信