Documentation ¶
Index ¶
- func DefaultAffinity() *corev1.Affinity
- func GetCCRRbacResourcesName(dda metav1.Object) string
- func GetDefaultClusterChecksRunnerClusterRolePolicyRules(dda metav1.Object, excludeNonResourceRules bool) []rbacv1.PolicyRule
- func GetDefaultServiceAccountName(dda metav1.Object) string
- func NewDefaultClusterChecksRunnerDeployment(dda metav1.Object) *appsv1.Deployment
- func NewDefaultClusterChecksRunnerPodTemplateSpec(dda metav1.Object) *corev1.PodTemplateSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAffinity ¶
DefaultAffinity returns the pod anti affinity of the cluster checks runners The default anti affinity prefers scheduling the runners on different nodes if possible for better checks stability in case of node failure.
func GetCCRRbacResourcesName ¶ added in v1.1.0
GetCCRRbacResourcesName returns the Cluster Checks Runner RBAC resource name
func GetDefaultClusterChecksRunnerClusterRolePolicyRules ¶ added in v1.1.0
func GetDefaultClusterChecksRunnerClusterRolePolicyRules(dda metav1.Object, excludeNonResourceRules bool) []rbacv1.PolicyRule
GetDefaultClusterChecksRunnerClusterRolePolicyRules returns the default Cluster Role Policy Rules for the Cluster Checks Runner
func GetDefaultServiceAccountName ¶
GetDefaultServiceAccountName return the default Cluster-Agent ServiceAccountName
func NewDefaultClusterChecksRunnerDeployment ¶
func NewDefaultClusterChecksRunnerDeployment(dda metav1.Object) *appsv1.Deployment
NewDefaultClusterChecksRunnerDeployment return a new default cluster-checks-runner deployment
func NewDefaultClusterChecksRunnerPodTemplateSpec ¶
func NewDefaultClusterChecksRunnerPodTemplateSpec(dda metav1.Object) *corev1.PodTemplateSpec
NewDefaultClusterChecksRunnerPodTemplateSpec returns a default cluster-checks-runner for the cluster-agent deployment
Types ¶
This section is empty.