Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitGenerator ¶
type InitGenerator struct {
// contains filtered or unexported fields
}
InitGenerator manages the init secret generation for the user namespaces.
func NewInitGenerator ¶
func (*InitGenerator) GenerateForDynakube ¶
GenerateForDynakube creates/updates the init secret for EVERY namespace for the given dynakube. Used by the dynakube controller during reconcile.
func (*InitGenerator) GenerateForNamespace ¶
func (g *InitGenerator) GenerateForNamespace(ctx context.Context, dk dynakube.DynaKube, targetNs string) error
GenerateForNamespace creates the init secret for namespace while only having the name of the corresponding dynakube Used by the podInjection webhook in case the namespace lacks the init secret.
Click to show internal directories.
Click to hide internal directories.