Documentation ¶
Index ¶
- func Ensure(kubeClient kubernetes.Interface, namespace string, sa *corev1.ServiceAccount, ...) (*corev1.ServiceAccount, error)
- func EnsureFromYAML(kubeClient kubernetes.Interface, namespace, yaml string) (bool, error)
- func EnsureSecretFromSA(client kubernetes.Interface, saName, namespace string) (*corev1.Secret, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ensure ¶
func Ensure(kubeClient kubernetes.Interface, namespace string, sa *corev1.ServiceAccount, onlyCreate bool) (*corev1.ServiceAccount, error)
nolint:wrapcheck // No need to wrap errors here.
func EnsureFromYAML ¶
func EnsureFromYAML(kubeClient kubernetes.Interface, namespace, yaml string) (bool, error)
EnsureFromYAML creates the given service account and secret for it.
func EnsureSecretFromSA ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.