clusterpolicy

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReconcileClusterPolicyControllerConfig

func ReconcileClusterPolicyControllerConfig(cm *corev1.ConfigMap, ownerRef config.OwnerRef, minTLSVersion string, cipherSuites []string) error

func ReconcileDeployment

func ReconcileDeployment(deployment *appsv1.Deployment, ownerRef config.OwnerRef, image string, deploymentConfig config.DeploymentConfig, availabilityProberImage string, platformType hyperv1.PlatformType) error

Types

type ClusterPolicyControllerParams

type ClusterPolicyControllerParams struct {
	Image                   string                  `json:"image"`
	APIServer               *configv1.APIServerSpec `json:"apiServer"`
	AvailabilityProberImage string                  `json:"availabilityProberImage"`

	DeploymentConfig config.DeploymentConfig `json:"deploymentConfig"`
	config.OwnerRef  `json:",inline"`
}

func NewClusterPolicyControllerParams

func NewClusterPolicyControllerParams(hcp *hyperv1.HostedControlPlane, releaseImageProvider *imageprovider.ReleaseImageProvider, setDefaultSecurityContext bool) *ClusterPolicyControllerParams

func (*ClusterPolicyControllerParams) CipherSuites

func (p *ClusterPolicyControllerParams) CipherSuites() []string

func (*ClusterPolicyControllerParams) MinTLSVersion

func (p *ClusterPolicyControllerParams) MinTLSVersion() string

Jump to

Keyboard shortcuts

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