mirror of
https://github.com/1Password/onepassword-operator.git
synced 2025-10-23 16:00:46 +00:00
Remove secret from previous step
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
. "github.com/onsi/gomega"
|
||||
|
||||
"github.com/1Password/onepassword-operator/test/cmd"
|
||||
"github.com/1Password/onepassword-operator/test/testhelper/kube"
|
||||
)
|
||||
|
||||
func BuildOperatorImage() {
|
||||
@@ -34,12 +33,3 @@ func DeployOperator() {
|
||||
g.Expect(output).To(ContainSubstring("Running"))
|
||||
}, 30*time.Second, 1*time.Second).Should(Succeed())
|
||||
}
|
||||
|
||||
func UndeployOperator() {
|
||||
kube.Delete("secret", "onepassword-connect-token")
|
||||
kube.Delete("secret", "onepassword-service-account-token")
|
||||
|
||||
By("undeploying the operator")
|
||||
_, err := cmd.Run("make", "undeploy", "ignore-not-found")
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
}
|
||||
|
Reference in New Issue
Block a user