controllers

package
v0.0.0-...-022452b Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TrustedCertificateAnnotation     = "trustbuilder.directv.com/trustedcertificate"
	CurrentCertificateHashAnnotation = "trustbuilder.directv.com/current-certificates-hash"
	ClusterCAFile                    = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
	DefaultStorePass                 = "changeit"
)
View Source
const (
	ClusterCaSecretPrefix = "cluster-ca-"
)

Variables

This section is empty.

Functions

func ClusterCaToSecret

func ClusterCaToSecret(client client.Client, namespace string, channel chan bool)

Types

type CertificatePackageReconciler

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

CertificatePackageReconciler reconciles a CertificatePackage object

func (*CertificatePackageReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODx(user): Modify the Reconcile function to compare the state specified by the CertificatePackage object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.8.3/pkg/reconcile

func (*CertificatePackageReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ConfigMapByName

type ConfigMapByName []v1.ConfigMap

func (ConfigMapByName) Len

func (s ConfigMapByName) Len() int

func (ConfigMapByName) Less

func (s ConfigMapByName) Less(i, j int) bool

func (ConfigMapByName) Swap

func (s ConfigMapByName) Swap(i, j int)

type PemCertificate

type PemCertificate struct {
	// contains filtered or unexported fields
}

type PemCertificateList

type PemCertificateList []PemCertificate

type SecretByName

type SecretByName []v1.Secret

Jump to

Keyboard shortcuts

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