Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeprecatedAnnotationDSNExecConfig = "infoblox.com/dsnexec-config-secret" DeprecatedAnnotationRemoteDBDSN = "infoblox.com/remote-db-dsn-secret" DeprecatedAnnotationDBSecretPath = "infoblox.com/db-secret-path" DeprecatedAnnotationMessages = "persistance.atlas.infoblox.com/deprecation-messages" )
View Source
var ( MountPathProxy = "/dbproxy" VolumeNameProxy = "dbproxydsn" ContainerNameProxy = "dbproxy" )
View Source
var ( // Set to {key}=disabled to disable injection LabelCheckProxy = "persistance.atlas.infoblox.com/dbproxy" LabelCheckExec = "persistance.atlas.infoblox.com/dsnexec" LabelConfigExec = "persistance.atlas.infoblox.com/dsnexec-config" LabelClaim = "persistance.atlas.infoblox.com/claim" LabelClass = "persistance.atlas.infoblox.com/class" AnnotationInjectedProxy = "persistance.atlas.infoblox.com/injected-dbproxy" AnnotationInjectedExec = "persistance.atlas.infoblox.com/injected-dsnexec" SecretKey = v1.DSNURIKey )
View Source
var ( MountPathExec = "/var/run/db-dsn" VolumeNameExec = "db-dsn" ContainerNameExec = "dsnexec" MountPathExecConfig = "/var/run/dsn-exec" VolumeNameExecConfig = "dsnexec-config" )
Functions ¶
func SetupConversionWebhookWithManager ¶ added in v1.10.1
func SetupConversionWebhookWithManager(mgr ctrl.Manager, cfg SetupConfig) error
SetupConversionWebhookWithManager converts db-controller v1 pod annotations to use v1.10 labels. As this needs to work on existing pods, it is not scoped to a single class. Be careful deploying this in a cluster with other conversion webhooks
func SetupWebhookWithManager ¶
func SetupWebhookWithManager(mgr ctrl.Manager, cfg SetupConfig) error
Types ¶
Click to show internal directories.
Click to hide internal directories.