mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
cicd practice part 1
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
NS=xpaste-development
|
||||
|
||||
kubectl delete secret xpaste-gitlab-registry --namespace "$NS"
|
||||
|
||||
kubectl create secret docker-registry xpaste-gitlab-registry \
|
||||
--docker-server registry.gitlab.com \
|
||||
--docker-email 'student@slurm.io' \
|
||||
--docker-username '<первая строчка из окна создания токена в gitlab>' \
|
||||
--docker-password '<вторая строчка из окна создания токена в gitlab>' \
|
||||
--namespace "$NS"
|
||||
Reference in New Issue
Block a user