Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rahti image registry instructions to Noppe guide for teachers? #2253

Open
samumantha opened this issue Sep 16, 2024 · 0 comments
Open

Rahti image registry instructions to Noppe guide for teachers? #2253

samumantha opened this issue Sep 16, 2024 · 0 comments

Comments

@samumantha
Copy link
Contributor

samumantha commented Sep 16, 2024

Didn't this exist before? If so, why was it removed?

@tourunen @yetulaxman

Something along the lines of (with a bit more info):

  • Add Rahti to CSC project, accept terms
  • Create Rahti project and link to CSC project (link to Rahti page here)
  • Get token for new registry https://console-openshift-console.apps.2.rahti.csc.fi/k8s/cluster/projects from under your name > Copy login command (needs oc installed)
  • Give access to anonymous and unauthenticated: oc policy add-role-to-user registry-viewer system:anonymous -n AND
    oc policy add-role-to-user registry-viewer system:unauthenticated -n
  • Login to new registry docker login -u g -p $(oc whoami -t) image-registry.apps.2.rahti.csc.fi
  • Tag image: docker tag imagename image-registry.apps.2.rahti.csc.fi//:
  • Push image docker push image-registry.apps.2.rahti.csc.fi//:
  • Use that same link in Noppe application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant