From 63e653b76a2a82d07f233a612b31f42292d1b12f Mon Sep 17 00:00:00 2001 From: "taekyu.kang" Date: Fri, 3 May 2024 13:47:29 +0900 Subject: [PATCH] feature. fix typo --- deploy_apps/tks-remove-lma-federation-wftpl.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy_apps/tks-remove-lma-federation-wftpl.yaml b/deploy_apps/tks-remove-lma-federation-wftpl.yaml index 39991d19..b0e93cdd 100644 --- a/deploy_apps/tks-remove-lma-federation-wftpl.yaml +++ b/deploy_apps/tks-remove-lma-federation-wftpl.yaml @@ -341,7 +341,7 @@ spec: sleep 5 done - grafana_ep_secret=${kubectl get secret -n ${cluster_id} tks-endpoint-secret -o jsonpath='{.data.grafana}'| base64 -d } || grafana_ep_secret="" + grafana_ep_secret=$(kubectl get secret -n ${cluster_id} tks-endpoint-secret -o jsonpath='{.data.grafana}'| base64 -d ) || grafana_ep_secret="" if [ "$grafana_ep_secret" == "" ]; then while [ -z $(kubectl --kubeconfig=kubeconfig get svc -n lma grafana -o jsonpath="{.status.loadBalancer.ingress[*].hostname}") ]; do if [ "$(kubectl --kubeconfig=kubeconfig get svc -n lma grafana -o jsonpath='{.spec.type}')" != "LoadBalancer" ]; then