sinjectorca

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package sinjectorca reconciles the namespace-local sinjector certificate.

Index

Constants

This section is empty.

Variables

View Source
var ErrOwnershipConflict = errors.New("sinjector certificate has a foreign controller")

ErrOwnershipConflict means the certificate name is controlled by another resource and cannot be adopted safely.

Functions

func Reconcile

func Reconcile(ctx context.Context, client cmclientset.Interface, cfg Config) (bool, error)

Reconcile converges one namespace CA and reports whether cert-manager has issued it. A foreign controller owner is never adopted.

Types

type Config

type Config struct {
	Name      string
	Namespace string
	Issuer    string
	Labels    map[string]string
	Owner     metav1.OwnerReference
}

Config identifies one namespace certificate and its stable controller owner.

Jump to

Keyboard shortcuts

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