mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
13 lines
508 B
Bash
Executable File
13 lines
508 B
Bash
Executable File
#!/bin/bash
|
|
|
|
NS=s<Ваш номер логина>-xpaste-production
|
|
|
|
kubectl delete secret xpaste-gitlab-registry --namespace "$NS"
|
|
|
|
kubectl create secret docker-registry xpaste-gitlab-registry \
|
|
--docker-server registry.slurm.io \
|
|
--docker-email 'student@slurm.io' \
|
|
--docker-username '<первая строчка из окна создания токена в gitlab>' \
|
|
--docker-password '<вторая строчка из окна создания токена в gitlab>' \
|
|
--namespace "$NS"
|