Created
October 14, 2021 07:18
-
-
Save quangthe/a6774b2ff132fb8af8dc741080ad7dd7 to your computer and use it in GitHub Desktop.
Revisions
-
quangthe created this gist
Oct 14, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # Create image pull secret kubectl delete secret gitlab-registry-creds --ignore-not-found kubectl create secret docker-registry gitlab-registry-creds \ --docker-server=https://${CI_REGISTRY} \ --docker-username=${CI_DEPLOY_USER} \ --docker-password=${CI_DEPLOY_PASSWORD}