mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-21 23:18:06 +00:00
Extract setting context namespace to standalone function SetContextNamespace
This commit is contained in:
@@ -22,10 +22,8 @@ const (
|
||||
|
||||
var _ = Describe("Onepassword Operator e2e", Ordered, func() {
|
||||
BeforeAll(func() {
|
||||
By("Set namespace to default")
|
||||
_, _ = system.Run("kubectl", "config", "set-context", "--current", "--namespace=default")
|
||||
kube.SetContextNamespace("default")
|
||||
|
||||
By("Build the operator image")
|
||||
operator.BuildOperatorImage()
|
||||
kind.LoadImageToKind(operatorImageName)
|
||||
|
||||
|
Reference in New Issue
Block a user