Skip to content

Commit

Permalink
Fix to remove unnecessary secret
Browse files Browse the repository at this point in the history
Signed-off-by: kouki <[email protected]>
  • Loading branch information
kmdkuk committed Oct 27, 2023
1 parent 767289a commit 96c7266
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions e2e/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ var _ = Context("backup", func() {

It("should construct a source cluster", func() {
kubectlSafe(fillTemplate(backupYAML), "apply", "-f", "-")
secjson := kubectlSafe(nil, "get", "secret", "-o", "json", "minio-cert")
sec := &corev1.Secret{}
json.Unmarshal(secjson, sec)
sec.SetNamespace("backup")
secjson, err := json.Marshal(sec)
Expect(err).NotTo(HaveOccurred())
kubectlSafe(secjson, "apply", "-f", "-")
Eventually(func(g Gomega) {
cluster, err := getCluster("backup", "source")
g.Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit 96c7266

Please sign in to comment.