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 bd6d67a commit 08d3b8bCopy full SHA for 08d3b8b
hack/update-operator-dev-deployment.sh
@@ -83,6 +83,14 @@ tag="$(echo -n "$tag" | tr -c 'a-zA-Z0-9_.-' '-')"
83
84
image="$image_path/caph-staging:$tag"
85
86
+# Fail if cluster-api-operator is running
87
+if kubectl get pods -A | grep -q cluster-api-operator; then
88
+ echo "Error: cluster-api-operator is running!"
89
+ echo "Changes to caph deployment and its CRDs would be reverted."
90
+ echo "Hint: Scale down replicas of the cluster-api-operator deployment."
91
+ exit 1
92
+fi
93
+
94
# run in background
95
{
96
make generate-manifests
0 commit comments