reconciliation

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWatches

func CreateWatches(mgr manager.Manager, inst *mesh_install.Installer) error

func FormatSpireWorkloadLabel

func FormatSpireWorkloadLabel(operatorNamespace, meshName, resourceName string) string

FormatSpireWorkloadLabel formats the well-known workload label used by Spire to construct SPIFFE IDs.

Types

type WorkloadReconciler

type WorkloadReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Installer *mesh_install.Installer
}

func (*WorkloadReconciler) Reconcile

func (r *WorkloadReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile adds labels and injects sidecars according to annotations on workloads

Jump to

Keyboard shortcuts

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