serviceaccountprojectbindingcontroller

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 24 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