File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2828        required : false 
2929        default : ' ' 
3030        type : string 
31+ 
3132jobs :
3233  print-endpoints :
3334    name : Print Service Endpoints 
@@ -43,17 +44,17 @@ jobs:
4344      - name : Update kubeconfig 
4445        run : | 
4546          aws eks update-kubeconfig --name ${{ inputs.cluster_name }} --region us-east-1 
47+ 
4648       - name : Print Service Endpoints 
4749        run : | 
4850          echo "================= SERVICE ENDPOINTS =================" 
4951          ARGOCD_HOST=$(kubectl get svc argocd-server -n ${{ inputs.argocd_namespace }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' 2>/dev/null || echo 'Not found') 
50-           MONITORING_HOST=$(kubectl get ingress monitoring-ingress -n ${{ inputs.monitoring_namespace }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' 2>/dev/null || echo 'Not found') 
52+           PROM_HOST=$(kubectl get svc kube-prometheus-stack-prometheus -n ${{ inputs.monitoring_namespace }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' 2>/dev/null || echo 'Not found') 
53+           GRAFANA_HOST=$(kubectl get svc kube-prometheus-stack-grafana -n ${{ inputs.monitoring_namespace }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' 2>/dev/null || echo 'Not found') 
5154          APP_HOST=$(kubectl get svc ${{ inputs.app_name }}-svc -n ${{ inputs.app_namespace }} -o jsonpath='{.status.loadBalancer.ingress[0].hostname}' 2>/dev/null || echo 'Not found') 
5255          echo "ArgoCD: http://$ARGOCD_HOST" 
53-           echo "Monitoring (All-in-One): http://$MONITORING_HOST" 
54-           echo "  ├── Grafana: http://$MONITORING_HOST/grafana" 
55-           echo "  ├── Prometheus: http://$MONITORING_HOST/prometheus" 
56-           echo "  └── AlertManager: http://$MONITORING_HOST/alertmanager" 
56+           echo "Prometheus: http://$PROM_HOST:9090" 
57+           echo "Grafana: http://$GRAFANA_HOST" 
5758          echo "App: http://$APP_HOST" 
5859          echo "================= DEFAULT CREDENTIALS =================" 
5960          ARGOCD_PASS=$(kubectl -n ${{ inputs.argocd_namespace }} get secret argocd-initial-admin-secret -o jsonpath='{.data.password}' 2>/dev/null | base64 -d || echo 'Not found') 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments