We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59e39c6 commit 0c2f263Copy full SHA for 0c2f263
kubernetes/samples/charts/util/setupLoadBalancer.sh
@@ -205,7 +205,7 @@ createTraefik() {
205
fi
206
207
# load the extra set of helm values if provided thru file using -p option
208
- if [ "$(helm list -q -n ${ns} | grep $chart | wc -l)" = 0 ]; then
+ if [ "$(helm status ${chart} -n ${ns})" != 0 ]; then
209
printInfo "Installing Traefik controller on namespace ${ns}"
210
purgeDefaultResources || true
211
helm install $chart traefik/traefik --namespace ${ns} \
0 commit comments