Documentation ¶
Index ¶
- func AdmissionWebhookSetup(c *Conf)
- func Cmd() *cobra.Command
- func CmdInstall() *cobra.Command
- func CmdRun() *cobra.Command
- func CmdStatus() *cobra.Command
- func CmdUninstall() *cobra.Command
- func CmdYaml() *cobra.Command
- func DetectClusterRole(c *Conf)
- func DetectRole(c *Conf)
- func LoadAdmissionConf(c *Conf)
- func RunInstall(cmd *cobra.Command, args []string)
- func RunOperator(cmd *cobra.Command, args []string)
- func RunStatus(cmd *cobra.Command, args []string)
- func RunUninstall(cmd *cobra.Command, args []string)
- func RunYaml(cmd *cobra.Command, args []string)
- type Conf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmissionWebhookSetup ¶ added in v5.10.1
func AdmissionWebhookSetup(c *Conf)
AdmissionWebhookSetup generate self-signed certificate and add volume mount to the operator deployment
func DetectClusterRole ¶
func DetectClusterRole(c *Conf)
DetectClusterRole looks up a cluster role binding referencing our service account
func DetectRole ¶
func DetectRole(c *Conf)
DetectRole looks up a role binding referencing our service account
func LoadAdmissionConf ¶ added in v5.10.1
func LoadAdmissionConf(c *Conf)
LoadAdmissionConf loads and initializes all the objects needed to install the admission resources
func RunOperator ¶
RunOperator is the main function of the operator but it is called from a cobra.Command
func RunUninstall ¶
RunUninstall runs a CLI command
Types ¶
type Conf ¶
type Conf struct { NS *corev1.Namespace SA *corev1.ServiceAccount SAEndpoint *corev1.ServiceAccount SAUI *corev1.ServiceAccount Role *rbacv1.Role RoleEndpoint *rbacv1.Role RoleUI *rbacv1.Role RoleBinding *rbacv1.RoleBinding RoleBindingEndpoint *rbacv1.RoleBinding ClusterRole *rbacv1.ClusterRole ClusterRoleBinding *rbacv1.ClusterRoleBinding Deployment *appsv1.Deployment WebhookConfiguration *admissionv1.ValidatingWebhookConfiguration WebhookSecret *corev1.Secret WebhookService *corev1.Service }
Conf struct holds all the objects needed to install the operator
func LoadOperatorConf ¶
LoadOperatorConf loads and initializes all the objects needed to install the operator
Click to show internal directories.
Click to hide internal directories.