Skip to content

Commit

Permalink
wait for serviceaccount to be created
Browse files Browse the repository at this point in the history
  • Loading branch information
sumedhpd committed Feb 8, 2024
1 parent fbe5388 commit 5df052d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## next

# 3.5.1

- Fix local run for integration tests


# 3.5.0

- Test against k8s 1.28
Expand Down
1 change: 1 addition & 0 deletions test/helpers/test_provisioner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def create_namespace(namespace)
ns = Kubeclient::Resource.new(kind: 'Namespace')
ns.metadata = { name: namespace }
kubeclient.create_namespace(ns)
sleep(5) # wait for the serviceaccount 'default' to be created; https://github.com/kubernetes/kubernetes/issues/66689
end
end
end

0 comments on commit 5df052d

Please sign in to comment.