42_IOT/bonus/scripts/get_gitlab_passwd.sh
2025-05-14 10:25:56 +02:00

3 lines
149 B
Bash
Executable File

kubectl exec -n gitlab pods/$(kubectl get pods -n gitlab -o jsonpath={.items[0].metadata.name}) -- grep Password: /etc/gitlab/initial_root_password