mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
Change some practice
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user