Documentation ¶
Overview ¶
+groupName=plugins.rig.dev -- Only used for config doc generation
Index ¶
Constants ¶
View Source
const Name = "rigdev.google_cloud_sql_auth_proxy"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // The image running on the new container. Defaults to gcr.io/cloud-sql-connectors/cloud-sql-proxy Image string `json:"image,omitempty"` // The tag of the image Tag string `json:"tag,omitempty"` // Arguments to pass to the cloud sql proxy. These will be appended after the instance connection names. Args []string `json:"args,omitempty"` // A list of either ConfigMaps or Secrets which will be mounted in as environment variables to the container. // It's a reuse of the Capsule CRD EnvFromSource []v1alpha2.EnvReference `json:"envFromSource,omitempty"` // A list of environment variables to set in the container EnvVars []corev1.EnvVar `json:"envVars,omitempty"` // Files is a list of files to mount in the container. These can either be // based on ConfigMaps or Secrets. // It's a reuse of the Capsule CRD Files []v1alpha2.File `json:"files,omitempty"` // Resources defines how large the container request should be. Defaults to the Kubernetes defaults. Resources Resources `json:"resources,omitempty"` // The instance_connection_names passed to the cloud_sql_proxy. InstanceConnectionNames []string `json:"instanceConnectionNames,omitempty"` }
Configuration for the google_cloud_sql_auth_proxy plugin +kubebuilder:object:root=true
type Plugin ¶
type Plugin struct { plugin.NoWatchObjectStatus // contains filtered or unexported fields }
func (*Plugin) Initialize ¶
func (p *Plugin) Initialize(req plugin.InitializeRequest) error
Click to show internal directories.
Click to hide internal directories.