Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceAccountName = "manager-sa" ManagerName = "manager" ManagerPodLabelKey = "operator.h3poteto.dev" ManagerPodLabelValue = "control-plane" )
View Source
const ( TestPodLabelKey = "e2e-test-key" TestPodLabelValue = "nginx" LogDir = "/var/log/nginx" TestContainerName = "nginx" )
Variables ¶
View Source
var ManagerPodLabels = map[string]string{ ManagerPodLabelKey: ManagerPodLabelValue, }
Functions ¶
func NewManagerManifests ¶
func NewManagerManifests(ns, clusterRoleName, image string, useCertManager bool) (*corev1.ServiceAccount, *rbacv1.ClusterRoleBinding, *rbacv1.Role, *rbacv1.RoleBinding, *appsv1.Deployment)
func NewNginx ¶
func NewNginx(ns string) *appsv1.Deployment
func NewSidecarInjector ¶
func NewSidecarInjector(collector string) *v1alpha1.SidecarInjector
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.