Category DevOps

Connection to DockerHub repository

Create secret kubectl create secret docker-registry regcred –docker-server= –docker-username=<your-name> –docker-password=<your-pword> –docker-email=<your-email> transfor to yaml format kubectl get secret regcred –output=yaml Create secret file Yml with output information apiVersion: v1 kind: Secret metadata: name: registryfront-credentials namespace: ael-0001-payroll-uat type: kubernetes.io/dockerconfigjson data: .dockerconfigjson:…

Install argocd CLI and add users

Install argocd CLI VERSION=$(curl –silent "https://api.github.com/repos/argoproj/argo-cd/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/') curl -sSL -o /usr/local/bin/argocd chmod +x /usr/local/bin/argocd argocd version Access to ARGOCD via argocdCLI argocd login arg.bakdevops.com –username admin –grpc-web –insecure #List account argocd account list…

Create Registry Credential for GitLabCI

Create Secret Get information : username : the name of your deploy token password : the value of token email: your email auth : base 64 username:password you can generate auth with this command echo "patoken:npAdzEy79ybtQdfdf" | base64 Result :…