Documentation ¶
Index ¶
- func GenerateSelfSignedCertificate(host string, alternateIPs []net.IP, alternateDNS []string, ...) ([]byte, []byte, error)
- func GetCertificate(*tls.ClientHelloInfo) (*tls.Certificate, error)
- func InitialiseCertificateSecret(ctx context.Context, client client.Client, log logr.Logger) error
- func ReadCertificateSecret(ctx context.Context, client client.Client, log logr.Logger) error
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSelfSignedCertificate ¶
func GenerateSelfSignedCertificate(host string, alternateIPs []net.IP, alternateDNS []string, maxAge time.Duration) ([]byte, []byte, error)
original code reference: https://github.com/kubernetes/client-go/blob/master/util/cert/cert.go
func GetCertificate ¶
func GetCertificate(*tls.ClientHelloInfo) (*tls.Certificate, error)
Types ¶
type Reconciler ¶
func NewCertificateReconciler ¶
func NewCertificateReconciler(mgr manager.Manager) *Reconciler
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, c controllers.RateLimiterConfig) error
Click to show internal directories.
Click to hide internal directories.