You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expect(err).To(Not(BeNil()), "Illegal extension is not detected as such")
765
-
Expect(err.Error()).To(ContainSubstring("found custom rule with empty resource referece"), "Illegal extension is not detected as such ")
870
+
Expect(err.Error()).To(ContainSubstring("found custom rule with neither resource name nor shoot config map defined"), "Illegal extension is not detected as such ")
766
871
767
872
err=f(falcoExtensionIllegal7)
768
873
Expect(err).To(Not(BeNil()), "Illegal extension is not detected as such")
769
-
Expect(err.Error()).To(ContainSubstring("failed to decode shoot-falco-service provider confi"), "Illegal extension is not detected as such ")
874
+
Expect(err.Error()).To(ContainSubstring("failed to decode shoot-falco-service provider config"), "Illegal extension is not detected as such ")
875
+
876
+
err=f(falcoExtensionIllegalWrongCustomRule1)
877
+
Expect(err).To(Not(BeNil()), "Illegal extension is not detected as such")
878
+
Expect(err.Error()).To(ContainSubstring("found custom rule with neither resource name nor shoot config map defined"), "Illegal extension is not detected as such ")
879
+
880
+
err=f(falcoExtensionIllegalWrongCustomRule2)
881
+
Expect(err).To(Not(BeNil()), "Illegal extension is not detected as such")
882
+
Expect(err.Error()).To(ContainSubstring("found custom rule with both resource name and shoot config map defined"), "Illegal extension is not detected as such ")
770
883
})
771
884
772
885
It("checks if central logging is enabled", func(ctxSpecContext) {
0 commit comments