namespaced

package
v1.60.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAllResources

func CreateAllResources(args *FactoryArgs) ([]client.Object, error)

CreateAllResources creates all namespaced resources

func CreateResourceGroup

func CreateResourceGroup(group string, args *FactoryArgs) ([]client.Object, error)

CreateResourceGroup creates namespaced resources for a specific group/component

func GetPrometheusNamespacedRules added in v1.57.1

func GetPrometheusNamespacedRules() []rbacv1.PolicyRule

GetPrometheusNamespacedRules returns the policy rules needed for CDI alerting setup

func GetRolePolicyRules added in v1.57.1

func GetRolePolicyRules() []rbacv1.PolicyRule

GetRolePolicyRules returns all namespaced PolicyRules

Types

type FactoryArgs

type FactoryArgs struct {
	OperatorVersion        string `required:"true" split_words:"true"`
	ControllerImage        string `required:"true" split_words:"true"`
	DeployClusterResources string `required:"true" split_words:"true"`
	ImporterImage          string `required:"true" split_words:"true"`
	ClonerImage            string `required:"true" split_words:"true"`
	OvirtPopulatorImage    string `required:"true" split_words:"true"`
	APIServerImage         string `required:"true" envconfig:"apiserver_image"`
	UploadProxyImage       string `required:"true" split_words:"true"`
	UploadServerImage      string `required:"true" split_words:"true"`
	Verbosity              string `required:"true"`
	PullPolicy             string `required:"true" split_words:"true"`
	ImagePullSecrets       []corev1.LocalObjectReference
	PriorityClassName      string
	Namespace              string
	InfraNodePlacement     *sdkapi.NodePlacement
	ControllerReplicas     int32
	APIServerReplicas      int32
	UploadProxyReplicas    int32
}

FactoryArgs contains the required parameters to generate all namespaced resources

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL