certificates

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: UPL-1.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OperatorName is the resource name for the Verrazzano application operator
	OperatorName = "verrazzano-application-operator"
	// OperatorNamespace is the resource namespace for the Verrazzano platform operator
	OperatorNamespace = "verrazzano-system"
	// IngressTraitValidatingWebhookName is the resource name for the Verrazzano ValidatingWebhook
	IngressTraitValidatingWebhookName = "verrazzano-application-ingresstrait-validator"
	// AppConfigMutatingWebhookName is the resource name for the Verrazzano MutatingWebhook for appconfigs
	AppConfigMutatingWebhookName = "verrazzano-application-appconfig-defaulter"
	// IstioMutatingWebhookName is the resource name for the Verrazzano MutatingWebhook for Istio pods
	IstioMutatingWebhookName = "verrazzano-application-istio-defaulter"
	// VerrazzanoProjectValidatingWebhookName is the resource name for the Verrazzano ValidatingWebhook
	VerrazzanoProjectValidatingWebhookName = "verrazzano-application-verrazzanoproject"
	// MultiClusterApplicationConfigurationName is the resource name for the MultiClusterApplicationConfiguration ValidatingWebhook
	MultiClusterApplicationConfigurationName = "verrazzano-application-multiclusterapplicationconfiguration"
	// MultiClusterComponentName is the resource name for the MultiClusterComponent ValidatingWebhook
	MultiClusterComponentName = "verrazzano-application-multiclustercomponent"
	// MultiClusterConfigMapName is the resource name for the MultiClusterConfigMap ValidatingWebhook
	MultiClusterConfigMapName = "verrazzano-application-multiclusterconfigmap"
	// MultiClusterSecretName is the resource name for the MultiClusterSecret ValidatingWebhook
	MultiClusterSecretName = "verrazzano-application-multiclustersecret"
)

Variables

This section is empty.

Functions

func SetupCertificates

func SetupCertificates(certDir string) (*bytes.Buffer, error)

SetupCertificates creates the needed certificates for the validating webhook

func UpdateMutatingWebhookConfiguration added in v0.15.0

func UpdateMutatingWebhookConfiguration(kubeClient kubernetes.Interface, caCert *bytes.Buffer, name string) error

UpdateMutatingWebhookConfiguration sets the CABundle

func UpdateValidatingWebhookConfiguration added in v0.15.0

func UpdateValidatingWebhookConfiguration(kubeClient kubernetes.Interface, caCert *bytes.Buffer, name string) error

UpdateValidatingWebhookConfiguration sets the CABundle

Types

This section is empty.

Jump to

Keyboard shortcuts

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