secret

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CASecretName  = "capsule-ca"
	TLSSecretName = "capsule-tls"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CAReconciler added in v0.0.4

type CAReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Namespace string
}

func (CAReconciler) Reconcile added in v0.0.4

func (r CAReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*CAReconciler) SetupWithManager added in v0.0.4

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

func (*CAReconciler) UpdateCustomResourceDefinition added in v0.1.0

func (r *CAReconciler) UpdateCustomResourceDefinition(caBundle []byte) error

By default helm doesn't allow to use templates in CRD (https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#method-1-let-helm-do-it-for-you). In order to overcome this, we are setting conversion strategy in helm chart to None, and then update it with CA and namespace information.

func (CAReconciler) UpdateMutatingWebhookConfiguration added in v0.0.4

func (r CAReconciler) UpdateMutatingWebhookConfiguration(caBundle []byte) error

func (CAReconciler) UpdateValidatingWebhookConfiguration added in v0.0.4

func (r CAReconciler) UpdateValidatingWebhookConfiguration(caBundle []byte) error

type MissingCaError

type MissingCaError struct {
}

func (MissingCaError) Error

func (MissingCaError) Error() string

type TLSReconciler added in v0.0.4

type TLSReconciler struct {
	client.Client
	Log       logr.Logger
	Scheme    *runtime.Scheme
	Namespace string
}

func (TLSReconciler) Reconcile added in v0.0.4

func (r TLSReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*TLSReconciler) SetupWithManager added in v0.0.4

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

Jump to

Keyboard shortcuts

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