Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestHelmConfigDir string
TestHelmConfigDir is needed for unit tests
Functions ¶
func GetHelmChartsDir ¶ added in v0.15.0
func GetHelmChartsDir() string
GetHelmChartsDir returns the helm charts dir
func GetHelmConfigDir ¶ added in v0.15.0
func GetHelmConfigDir() string
GetHelmConfigDir returns the helm config dir
func GetHelmOverridesDir ¶ added in v0.15.0
func GetHelmOverridesDir() string
GetHelmOverridesDir returns the helm overrides dir
func GetHelmVzChartsDir ¶ added in v0.15.0
func GetHelmVzChartsDir() string
GetHelmVzChartsDir returns the Verrazzano helm charts dir
func GetInstallDir ¶ added in v0.15.0
func GetInstallDir() string
GetInstallDir returns the install dir
func GetPlatformDir ¶ added in v0.15.0
func GetPlatformDir() string
GetPlatformDir returns the platform dir
func GetThirdPartyDir ¶ added in v0.15.0
func GetThirdPartyDir() string
GetThirdPartyDir returns the thirdparty dir
func Set ¶
func Set(config OperatorConfig)
Set saves the operator config. This should only be called at operator startup and during unit tests
Types ¶
type OperatorConfig ¶
type OperatorConfig struct { // The CertDir directory containing tls.crt and tls.key CertDir string // InitWebhooks enables initialzation of webhooks for the operator InitWebhooks bool // MetricsAddr is the address the metric endpoint binds to MetricsAddr string // LeaderElectionEnabled enables/disables ensuring that there is only one active controller manager LeaderElectionEnabled bool // VersionCheckEnabled enables/disables version checking for upgrade. VersionCheckEnabled bool // WebhooksEnabled enables/disables Webhooks for the operator WebhooksEnabled bool // WebhookValidationEnabled enables/disables webhook validation without removing the webhook itself WebhookValidationEnabled bool // VerrazzanoRootDir is the root verrazzano directory in the image VerrazzanoRootDir string }
OperatorConfig specfies the Verrazzano Platform Operator Config
Click to show internal directories.
Click to hide internal directories.