git config --global \
url."https://${user}:${personal_access_token}@privategitlab.com".insteadOf \
"https://privategitlab.com"
-
The
docker-login
repo is setup with minimal (read-only) access which allows all users to login. This creates the necessary credentials store required for all subsequent docker operations. The team docker repositories will be setup with RBAC to only allow access to members of that respective team to perform docker push/pull operations. -
The proxy will inspect the context path for the docker pull/push operations and proceed only if authorization is successful.
global | |
log 127.0.0.1 local2 | |
user haproxy | |
group haproxy | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
daemon | |
maxconn 1000 | |
defaults |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
cd k8s-specs | |
git pull | |
export AWS_ACCESS_KEY_ID=[...] | |
export AWS_SECRET_ACCESS_KEY=[...] | |
aws --version |
https://www.ssllabs.com/ssltest
For www.atlassian.com:
Protocols
TLS 1.2 Yes
TLS 1.1 Yes