mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 18:09:58 +00:00
feat(helm): introduce new installation and CRD lifecycle (#1065)
* chore: name change for webhook names Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: remove apidocs Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * feat(helm): implement crd lifecycle and values consistency Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: change default group name Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
@@ -62,7 +62,7 @@ var _ = Describe("creating a Namespace as Tenant owner with custom --capsule-gro
|
||||
|
||||
It("should succeed and be available in Tenant namespaces list with default single group", func() {
|
||||
ModifyCapsuleConfigurationOpts(func(configuration *capsulev1beta2.CapsuleConfiguration) {
|
||||
configuration.Spec.UserGroups = []string{"capsule.clastix.io"}
|
||||
configuration.Spec.UserGroups = []string{"projectcapsule.dev"}
|
||||
})
|
||||
|
||||
ns := NewNamespace("")
|
||||
|
||||
@@ -68,7 +68,7 @@ var _ = AfterSuite(func() {
|
||||
func ownerClient(owner capsulev1beta2.OwnerSpec) (cs kubernetes.Interface) {
|
||||
c, err := config.GetConfig()
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
c.Impersonate.Groups = []string{capsulev1beta2.GroupVersion.Group, owner.Name}
|
||||
c.Impersonate.Groups = []string{"projectcapsule.dev", owner.Name}
|
||||
c.Impersonate.UserName = owner.Name
|
||||
cs, err = kubernetes.NewForConfig(c)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
Reference in New Issue
Block a user