Documentation ¶
Index ¶
- func CreateUnsealedBasicAuthSecret(name types.NamespacedName, token string, opts ...meta.ObjectMetaOpt) *corev1.Secret
- func CreateUnsealedDockerConfigSecret(name types.NamespacedName, in io.Reader) (*corev1.Secret, error)
- func CreateUnsealedSecret(name types.NamespacedName, data, secretKey string) (*corev1.Secret, error)
- func GenerateString(length int) (string, error)
- func MakeServiceWebhookSecretName(envName, serviceName string) string
- type PublicKeyFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUnsealedBasicAuthSecret ¶ added in v0.0.25
func CreateUnsealedBasicAuthSecret(name types.NamespacedName, token string, opts ...meta.ObjectMetaOpt) *corev1.Secret
CreateUnsealedBasicAuthSecret creates a SealedSecret with a BasicAuth type secret.
func CreateUnsealedDockerConfigSecret ¶ added in v0.0.25
func CreateUnsealedDockerConfigSecret(name types.NamespacedName, in io.Reader) (*corev1.Secret, error)
CreateUnsealedDockerConfigSecret creates an Unsealed Secret with the given name and reader
func CreateUnsealedSecret ¶ added in v0.0.25
func GenerateString ¶
GenerateString creates a random secret of the desired length
func MakeServiceWebhookSecretName ¶
MakeServiceWebhookSecretName common method to create service webhook secret name
Types ¶
type PublicKeyFunc ¶
type PublicKeyFunc func(service types.NamespacedName) (*rsa.PublicKey, error)
PublicKeyFunc retruns a public key give a service namedspaced name
Click to show internal directories.
Click to hide internal directories.