Documentation ¶
Overview ¶
Package k8s implements helper functions to get certificates from Kubernetes secret
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCertFromKubernetes ¶
func GetCertFromKubernetes(ns string, secretName string, kubeClient kubernetes.Interface) (*certificate.Certificate, error)
GetCertFromKubernetes is a helper function that loads a certificate from a Kubernetes secret
func GetCertificateFromSecret ¶
func GetCertificateFromSecret(ns string, secretName string, cert *certificate.Certificate, kubeClient kubernetes.Interface) (*certificate.Certificate, error)
GetCertificateFromSecret is a helper function that ensures creation and synchronization of a certificate using Kubernetes Secrets backend and API atomicity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.