profile

package
v2.0.0-...-0fbcd37 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ADMIN = "admin"
View Source
const ROLE = "role"
View Source
const SERVICEROLEBINDINGISTIO = "owner-binding-istio"
View Source
const SERVICEROLEISTIO = "ns-access-istio"
View Source
const USER = "user"

annotation key, consumed by kfam API

View Source
const USERIDHEADER = "userid-header"
View Source
const USERIDPREFIX = "userid-prefix"

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, args map[string]string) error

Add creates a new Profile Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileProfile

type ReconcileProfile struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileProfile reconciles a Profile object

func (*ReconcileProfile) Reconcile

func (r *ReconcileProfile) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Profile object and makes changes based on the state read and what is in the Profile.Spec Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=core,resources=namespaces,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=core,resources=serviceaccount,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=rbac,resources=rolebindings,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=kubeflow.org,resources=profiles,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=kubeflow.org,resources=profiles/status,verbs=get;update;patch

Jump to

Keyboard shortcuts

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