Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OperatorName is the resource name for the Verrazzano application operator OperatorName = "verrazzano-application-operator-webhook" // OldOperatorName is the name of the operator in versions previous OldOperatorName = "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" // MetricsBindingWebhookName is the resource name for metrics binding webhooks MetricsBindingWebhookName = "verrazzano-application-metrics-binding" // 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" //nolint:gosec //#gosec G101 // CertKey is the certificate in a Secret CertKey = "tls.crt" // PrivKey is the private key in a Secret PrivKey = "tls.key" // OperatorCA is the Operator CA Secret name OperatorCA = "verrazzano-application-operator-ca" // OperatorTLS is the Operator TLS Secret name OperatorTLS = "verrazzano-application-operator-tls" )
Variables ¶
This section is empty.
Functions ¶
func CreateWebhookCertificates ¶ added in v1.5.0
func CreateWebhookCertificates(log *zap.SugaredLogger, kubeClient kubernetes.Interface, certDir string) error
CreateWebhookCertificates creates the needed certificates for the validating webhook
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.