controller

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// AnnotationEnabledKey is the annotation that enables secret replication.
	AnnotationEnabledKey = "v1alpha1.replikator.pecke.tt/enabled"
	// AnnotationReplicateToKey is the annotation that specifies the target namespace/s to replicate to.
	// The value of this annotation should be a comma-separated list of values / glob patterns.
	// If this annotation is not present, the secret will be replicated to all namespaces.
	AnnotationReplicateToKey = "v1alpha1.replikator.pecke.tt/replicate-to"
	// AnnotationReplicateKeysKey is the annotation that specifies the keys to replicate.
	// The value of this annotation should be a comma-separated list of values / glob patterns.
	// If this annotation is not present, all keys will be replicated.
	AnnotationReplicateKeysKey = "v1alpha1.replikator.pecke.tt/replicate-keys"
	// FinalizerName is the name of the finalizer that will be added to the secret.
	FinalizerName = "replikator.pecke.tt/finalizer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapReconciler

type ConfigMapReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*ConfigMapReconciler) Reconcile

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

func (*ConfigMapReconciler) SetupWithManager

func (r *ConfigMapReconciler) SetupWithManager(mgr ctrl.Manager) error

type SecretReconciler

type SecretReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*SecretReconciler) Reconcile

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

func (*SecretReconciler) SetupWithManager

func (r *SecretReconciler) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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