Network:
iptables -A FORWARD -j ACCEPT
sysctl -w net.ipv4.ip_forward=1
Tools:
apt install wireguard
apt install make
JWT_SECRET=""
HARBOR_HOST=""
HARBOR_USER=""
HARBOR_PASSWORD=""
HARBOR_PROJECT=""
LDAP_HOST="ldap://localhost"
LDAP_ENABLE_TLS=no
LDAP_CA_PATH=""
LDAP_USER_BASE_DN="ou=People,dc=example,dc=org"
LDAP_ADMIN_GROUP_DN="cn=admin,ou=Group,dc=example,dc=org"
WG_LISTEN_IP="localhost"
K8S_NAMESPACE="judge"
K8S_KUBE_CONFIG="/etc/kubernetes/admin.conf"
RUNTIME_CONFIG="Production"
Make sure the parameters listed above are not empty. If you are not using LDAP authentication, you can just skip them.
Notices:
WG_LISTEN_IP
field.Warnings:
CAP_NET_ADMIN
capability. Make sure your network is well-designed or even isolated. Using some CNI plugin or firewall policies would be better.