Skip to content

Commit

Permalink
trivial.
Browse files Browse the repository at this point in the history
  • Loading branch information
cho4036 committed Nov 14, 2023
1 parent 113fa1a commit 6e0862b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy_apps/tks-service-mesh-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ spec:
value: "{{workflow.parameters.keycloak_url}}/auth"
- name: organization_id
value: "{{workflow.parameters.organization_id}}"
- - name: install-service-mesh-app
templateRef:
name: service-mesh
template: deploy-start
- - name: kiali-create-keycloak-secret-to-k8s-cluster
template: create-keycloak-secret-to-k8s-cluster
arguments:
Expand All @@ -169,10 +173,6 @@ spec:
value: "{{steps.kiali-get-keycloak-client-secret.outputs.parameters.client-secret}}"
- name: cluster_id
value: "{{workflow.parameters.cluster_id}}"
- - name: install-service-mesh-app
templateRef:
name: service-mesh
template: deploy-start
- - name: kiali-get-ep
template: kiali-get-ep
arguments:
Expand Down Expand Up @@ -302,11 +302,11 @@ spec:
if [ "$kiali_ep_secret" == "" ]; then
while [ -z $(kubectl --kubeconfig=kubeconfig get svc -n tks-msa kiali -o jsonpath="{.status.loadBalancer.ingress[*].hostname}") ]; do
if [ "$(kubectl --kubeconfig=kubeconfig get svc -n tks-msa kiali -o jsonpath='{.spec.type}')" != "LoadBalancer" ]; then
log "FAIL" "A service for the grafana in ${cluster_id} is not configured properly.(No LoadBalancer)"
log "FAIL" "A service for the kiali in ${cluster_id} is not configured properly.(No LoadBalancer)"
exit -1
fi
echo "Waiting for generating the loadbalancer of grafana(3s)"
echo "Waiting for generating the loadbalancer of kiali(3s)"
sleep 3
done
Expand Down

0 comments on commit 6e0862b

Please sign in to comment.