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 ¶
Types ¶
type CertificatePackageReconciler ¶
CertificatePackageReconciler reconciles a CertificatePackage object
func (*CertificatePackageReconciler) Reconcile ¶
func (r *CertificatePackageReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.