- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkRoleBindingsReferenceRoles (0.3 sec)
-
operator/cmd/mesh/test-util_test.go
} if port != -1 { out["port"] = port } if targetPort != -1 { out["targetPort"] = targetPort } return out } // checkRoleBindingsReferenceRoles fails if any RoleBinding in objs references a Role that isn't found in objs. func checkRoleBindingsReferenceRoles(g *WithT, objs *ObjectSet) { for _, o := range objs.kind(name2.RoleBindingStr).objSlice { ou := o.Unstructured()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 15.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
ou := o.Unstructured() g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.minReplicas", int64(1)})) g.Expect(ou).Should(HavePathValueEqual(PathValue{"spec.maxReplicas", int64(5)})) } checkRoleBindingsReferenceRoles(g, objs) } } func TestManifestGenerateWithDuplicateMutatingWebhookConfig(t *testing.T) { testResourceFile := "duplicate_mwc" testCases := []struct { name string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0)