Project

General

Profile

Actions

Feature #44886

closed

cephadm: allow use of authenticated registry

Added by Sage Weil about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
cephadm
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Users may need to use an authenticated registry, e.g. in air-gapped deployments.

We could punt and require that the host have all this configured so that we can just pull... Or we could teach cephadm how to take auth credentials (user/pass? cert?) and pass it around as needed.

https://pad.ceph.com/p/cephadm-registry-credentials

Actions #1

Updated by Sebastian Wagner about 4 years ago

and then the next request will be to support untrusted registries... and so on

Actions #2

Updated by Kefu Chai almost 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Kefu Chai
  • Pull request ID set to 35217
Actions #3

Updated by Kefu Chai almost 4 years ago

  • Description updated (diff)
Actions #4

Updated by Kefu Chai almost 4 years ago

  • Assignee deleted (Kefu Chai)
Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from In Progress to New
Actions #6

Updated by Sebastian Wagner almost 4 years ago

  • Priority changed from Normal to High
Actions #7

Updated by Sebastian Wagner almost 4 years ago

cephadm registry-login user pw

plus storing the credentials in the mgr/cephadm

Actions #8

Updated by Denys Kondratenko almost 4 years ago

should registry management and authentication be handled on cri-o level by system admin or maybe by cephadm as helper?

crio.conf:

**global_auth_file**="" 
  The path to a file like /var/lib/kubelet/config.json holding credentials necessary for pulling images from secure registries.

Actions #9

Updated by Adam King almost 4 years ago

  • Assignee set to Adam King
Actions #10

Updated by Sebastian Wagner almost 4 years ago

Denys Kondratenko wrote:

should registry management and authentication be handled on cri-o level by system admin or maybe by cephadm as helper?

crio.conf:
[...]

cephadm doesn't use cri-o, but plain podman. but yeah, cephadm should IMO orchestrate this cluster-wide

Actions #11

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID changed from 35217 to 36012
Actions #12

Updated by Adam King almost 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #13

Updated by Sebastian Wagner over 3 years ago

  • Category set to cephadm
  • Target version set to v15.2.5
Actions

Also available in: Atom PDF