Documentation ¶
Index ¶
- Constants
- func SetupCertificates(certDir string) (*bytes.Buffer, error)
- func UpdateMutatingWebhookConfiguration(kubeClient kubernetes.Interface, caCert *bytes.Buffer, name string) error
- func UpdateValidatingWebhookConfiguration(kubeClient kubernetes.Interface, caCert *bytes.Buffer, name string) error
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.