In the middle of the desert you can say anything you want

09 Feb 2024

Rancher setting up gitlab registry secrets

(Note to self: if you are reading this, the HSA k8s howtos exist and have screenshots to describe this exact process…)

  • In the Gitlab project Settings->Repository, create a new Deploy token with at least reading access.
    • username will be ~ gitlab+deploy-token-N
  • Rancher
    • Storage->Secret, create a new secret in of type Custom. Registry Domain Name is the gitlab instance including the port, so w/ the password
    • let’s call it project-x-gitlab-registry
  • Pods
    • In the config:
apiVersion: v1
kind: Pod
  name: lm-eval-sh
  namespace: project-eval-lm-ua
    - name: xxx
  # etc
    - name: project-x-gitlab-registry
Nel mezzo del deserto posso dire tutto quello che voglio.