serviceaccountprojectbindingcontroller

package
v2.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package serviceaccountprojectbindingcontroller contains a controller that watches Users, but only those that are KKP service accounts. For them it will

  • ensure an owner ref pointing to the project they belong to
  • ensure a UserProjectBinding exists and has a proper owner ref to the user

When new service accounts are created, they have a ServiceAccountLabelGroup label to indicate their initial group. This label is taken into account when the UserProjectBinding is created and then removed from the User object.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, log *zap.SugaredLogger) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL