Skip to content

Commit

Permalink
Issue 30524 fix (apache#30725)
Browse files Browse the repository at this point in the history
* update singlestore operator version

* add remove finalizer from object to k8s access action

---------

Co-authored-by: Vlado Djerek <djerek.vlado6@gmail.com>
  • Loading branch information
2 people authored and hjtran committed Apr 4, 2024
1 parent bad4f41 commit 9ebaa4d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/actions/setup-k8s-access/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ inputs:
description: "Zone of the cluster to be created"
required: true
default: "us-central1-a"

remove_finalizer:
description: "Remove finalizers from the cluster"
required: false
default: ""

runs:
using: composite
Expand Down Expand Up @@ -70,4 +73,7 @@ runs:
main: echo "Post Cleanup"
post: |
echo "Post Cleanup"
if [ -n "${{ inputs.remove_finalizer }}" ]; then
kubectl patch ${{ inputs.remove_finalizer }} -p '[{"op": "remove", "path": "/metadata/finalizers"}]' --type=json
fi
kubectl delete namespace ${{ steps.replace_namespace.outputs.TEST_NAMESPACE }}
1 change: 1 addition & 0 deletions .github/workflows/beam_PerformanceTests_SingleStoreIO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
with:
cluster_name: io-datastores
k8s_namespace: ${{ matrix.job_name }}-${{ github.run_id }}
remove_finalizer: memsqlclusters.memsql.com/sdb-cluster
- name: Install Singlestore operator
run: |
kubectl apply -f ${{github.workspace}}/.test-infra/kubernetes/singlestore/sdb-rbac.yaml
Expand Down
2 changes: 1 addition & 1 deletion .test-infra/kubernetes/singlestore/sdb-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
serviceAccountName: sdb-operator
containers:
- name: sdb-operator
image: singlestore/operator:3.0.98-156a0090
image: singlestore/operator:3.246.0-da805c0b
imagePullPolicy: Always
args: [
# Cause the operator to merge rather than replace annotations on services
Expand Down

0 comments on commit 9ebaa4d

Please sign in to comment.