Skip to content

Commit 04eac5a

Browse files
committed
fix: ignore errors for migration scaling
1 parent 3857411 commit 04eac5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator/charts/helm/zookeeper-service/templates/pre-deploy/ownerref-migrator-job.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ spec:
4242
SELECTOR="{{ .Values.groupMigration.labelSelector }}"
4343
OLD_GROUP="{{ .Values.groupMigration.oldGroupPrefix }}"
4444
45-
$KUBECTL -n "$NS" scale deploy/{{ template "zookeeper.name" . }}-service-operator --replicas=0
45+
$KUBECTL -n "$NS" scale deploy/{{ template "zookeeper.name" . }}-service-operator --replicas=0 2>/dev/null || true
4646
4747
# Build optional selector flag
4848
if [ -n "${SELECTOR}" ]; then SEL="-l ${SELECTOR}"; else SEL=""; fi

0 commit comments

Comments
 (0)