forked from rcarrata/devsecops-demo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstatus.sh
executable file
·34 lines (28 loc) · 1.22 KB
/
status.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
printf "\n## GOGS Server - Username/Password: gogs/gogs ##\n"
GOGS=$(oc get route -n cicd gogs -o jsonpath='{.spec.host}')
printf "http://$GOGS"
printf "\n"
printf "\n## Nexus Server - Username/Password: admin/admin123 ##\n"
NEXUS=$(oc get route -n cicd nexus -o jsonpath='{.spec.host}')
printf "https://$NEXUS"
printf "\n"
printf "\n## Sonarqube Server - Username/Password: admin/admin ##\n"
SONARQUBE=$(oc get route -n cicd sonarqube -o jsonpath='{.spec.host}')
printf "https://$SONARQUBE"
printf "\n"
printf "\n## Reports Server - Username/Password: reports/reports ##\n"
REPORTS=$(oc get route -n cicd reports-repo -o jsonpath='{.spec.host}')
printf "http://$REPORTS"
printf "\n"
printf "\n## ACS/Stackrox Server - Username/Password: admin/stackrox ##\n"
ACS=$(oc get route -n stackrox central -o jsonpath='{.spec.host}')
printf "https://$ACS"
printf "\n"
printf "\n## ArgoCD Server - Username/Password: admin/[DEX] ##\n"
ARGO=$(oc get route -n openshift-gitops openshift-gitops-server -o jsonpath='{.spec.host}')
printf "https://$ARGO"
printf "\n"
printf "\n## Quay Server - Username/Password: quayadmin/quaypass123 ##\n"
QUAY=$(oc get route -n quay-demo demo-registry-quay -o jsonpath='{.spec.host}')
printf "https://$QUAY"
printf "\n"