Skip to content

revad: Register revad-storageproviders as UNIX trusted gateways on EOS #36

@ebocchi

Description

@ebocchi

This is a manual step at the moment:

# allow the host 
eos access allow 172-17-0-9.sciencebox-storageprovider-home.default.svc.cluster.local (<FQDN of the pod running reva>)

# add gateway
eos vid add gateway 172-17-0-9.sciencebox-storageprovider-home.default.svc.cluster.local
eos vid set map -tident "*@172-17-0-9.sciencebox-storageprovider-home.default.svc.cluster.local" vuid 0 vgid 0

It should be implemented as initContainer in the revad charts. The initContainer will need:

  • The EOS sss keytab;
  • The EOS binary to issue eos access and vid commands against the MGM;
  • Some env var to know the MGM hostname.

The logic to register as trusted gateway can be inspired from https://gitlab.cern.ch/cernbox/boxed/-/blob/master/eos-storage.citrine.d/utils/configure_gateway.sh

Send a PR to the upstream repo (https://github.com/cs3org/charts/tree/master/revad) to have an option for initContainer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions