Skip to content

Commit fdad03b

Browse files
author
Cory Schwartz
committed
stop looking at StringData
1 parent f63740f commit fdad03b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

controllers/ipfscluster_controller_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,9 @@ var _ = Describe("IPFS Reconciler", func() {
8888

8989
// save this so we can check for changes later.
9090
dataCopy := make(map[string][]byte)
91-
stringCopy := make(map[string]string)
9291
for k, v := range secretConfig.Data {
9392
dataCopy[k] = v
9493
}
95-
for k, v := range secretConfig.StringData {
96-
stringCopy[k] = v
97-
}
98-
9994
// increase the replica count. Expect to see new keys generated.
10095
ipfs.Spec.Replicas++
10196
fn, _ = ipfsReconciler.SecretConfig(ctx, ipfs, secretConfig, clusterSec, bootstrapKey)
@@ -107,9 +102,6 @@ var _ = Describe("IPFS Reconciler", func() {
107102
for k := range dataCopy {
108103
Expect(dataCopy[k]).To(Equal(secretConfig.Data[k]))
109104
}
110-
for k := range stringCopy {
111-
Expect(stringCopy[k]).To(Equal(secretConfig.StringData[k]))
112-
}
113105
})
114106
})
115107
})

0 commit comments

Comments
 (0)