File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -18,21 +18,13 @@ FEATURES=$1
18
18
CLOUD_PRODUCT=$2
19
19
REGISTRY=$3
20
20
21
- K8S_MINOR=$( kubectl version -o json | jq -r ' .serverVersion.minor' | sed ' s/+//' )
22
-
23
21
echo $FEATURES
24
22
echo $REGISTRY
25
- echo $K8S_MINOR
26
23
set -e
27
24
28
- # Ensure we cleanup the finalizers from k8s 1.33 until they patch it
29
- if [ " $K8S_MINOR " = " 33" ]; then
30
- echo " GKE 1.33 detected: cleaning up stuck service finalizers"
31
-
32
- kubectl get svc -n agones-system -o json \
33
- | jq -r ' .items[] | select(.metadata.finalizers | length > 0) | .metadata.name' \
34
- | xargs -r -I {} kubectl patch svc {} -n agones-system -p ' {"metadata":{"finalizers":null}}' --type=merge
35
- fi
25
+ kubectl get svc -n agones-system -o json \
26
+ | jq -r ' .items[] | select(.metadata.finalizers | length > 0) | .metadata.name' \
27
+ | xargs -r -I {} kubectl patch svc {} -n agones-system -p ' {"metadata":{"finalizers":null}}' --type=merge
36
28
37
29
echo " installing current release"
38
30
DOCKER_RUN= make install FEATURE_GATES=' "' $FEATURES ' "' REGISTRY=' "' $REGISTRY ' "'
You can’t perform that action at this time.
0 commit comments