generate

package
v1.7.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLogger added in v0.18.38

type AccessLogger struct {
	Image                   *Image            `json:"image,omitempty"`
	Port                    uint              `json:"port,omitempty"`
	ServiceName             string            `json:"serviceName,omitempty"`
	Enabled                 bool              `json:"enabled"`
	Stats                   *Stats            `json:"stats,omitempty" desc:"overrides for prometheus stats published by the access logging pod"`
	RunAsUser               float64           `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
	FsGroup                 float64           `json:"fsGroup" desc:"Explicitly set the group ID for volume ownership. Default is 10101"`
	ExtraAccessLoggerLabels map[string]string `` /* 160-byte string literal not displayed */
	*DeploymentSpec
}

type AwsSettings added in v1.5.0

type AwsSettings struct {
	EnableCredentialsDiscovery      bool   `` /* 215-byte string literal not displayed */
	EnableServiceAccountCredentials bool   `` /* 218-byte string literal not displayed */
	StsCredentialsRegion            string `` /* 127-byte string literal not displayed */
}

type CertGenJob added in v0.21.1

type CertGenJob struct {
	Job
	Enabled                 bool    `` /* 126-byte string literal not displayed */
	SetTtlAfterFinished     bool    `json:"setTtlAfterFinished" desc:"Set ttlSecondsAfterFinished (a k8s feature in Alpha) on the job. Defaults to true"`
	TtlSecondsAfterFinished int     `json:"ttlSecondsAfterFinished" desc:"Clean up the finished job after this many seconds. Defaults to 60"`
	FloatingUserId          bool    `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	RunAsUser               float64 `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
}

type Chart

type Chart struct {
	ApiVersion  string   `json:"apiVersion"`
	Description string   `json:"description"`
	Name        string   `json:"name"`
	Version     string   `json:"version"`
	Home        string   `json:"home"`
	Icon        string   `json:"icon"`
	Sources     []string `json:"sources"`
}

type Config

type Config struct {
	Namespace      *Namespace              `json:"namespace,omitempty"`
	Crds           *Crds                   `json:"crds,omitempty"`
	Settings       *Settings               `json:"settings,omitempty"`
	Gloo           *Gloo                   `json:"gloo,omitempty"`
	Discovery      *Discovery              `json:"discovery,omitempty"`
	Gateway        *Gateway                `json:"gateway,omitempty"`
	GatewayProxies map[string]GatewayProxy `json:"gatewayProxies,omitempty"`
	Ingress        *Ingress                `json:"ingress,omitempty"`
	IngressProxy   *IngressProxy           `json:"ingressProxy,omitempty"`
	K8s            *K8s                    `json:"k8s,omitempty"`
	AccessLogger   *AccessLogger           `json:"accessLogger,omitempty"`
}

type Consul added in v1.6.0

type Consul struct {
	Datacenter         string                   `json:"datacenter,omitEmpty" desc:"Datacenter to use. If not provided, the default agent datacenter is used."`
	Username           string                   `json:"username,omitEmpty" desc:"Username to use for HTTP Basic Authentication."`
	Password           string                   `json:"password,omitEmpty" desc:"Password to use for HTTP Basic Authentication."`
	Token              string                   `json:"token,omitEmpty" desc:"Token is used to provide a per-request ACL token which overrides the agent's default token."`
	CaFile             string                   `` /* 159-byte string literal not displayed */
	CaPath             string                   `` /* 173-byte string literal not displayed */
	CertFile           string                   `` /* 157-byte string literal not displayed */
	KeyFile            string                   `` /* 156-byte string literal not displayed */
	InsecureSkipVerify bool                     `json:"insecureSkipVerify,omitEmpty" desc:"InsecureSkipVerify if set to true will disable TLS host verification."`
	WaitTime           *Duration                `` /* 156-byte string literal not displayed */
	ServiceDiscovery   *ServiceDiscoveryOptions `` /* 141-byte string literal not displayed */
	HttpAddress        string                   `` /* 232-byte string literal not displayed */
	DnsAddress         string                   `` /* 273-byte string literal not displayed */
	DnsPollingInterval *Duration                `` /* 292-byte string literal not displayed */
}

type ConsulUpstreamDiscovery added in v1.6.0

type ConsulUpstreamDiscovery struct {
	UseTlsDiscovery  bool         `` /* 214-byte string literal not displayed */
	TlsTagName       string       `` /* 244-byte string literal not displayed */
	SplitTlsServices bool         `` /* 163-byte string literal not displayed */
	DiscoveryRootCa  *ResourceRef `json:"discoveryRootCa" desc:"The name/namespace of the root CA needed to use TLS with consul services."`
}

type Crds added in v0.12.0

type Crds struct {
	Create bool `` /* 220-byte string literal not displayed */

}

type DaemonSetSpec added in v0.17.3

type DaemonSetSpec struct {
	HostPort bool `json:"hostPort" desc:"whether or not to enable host networking on the pod. Only relevant when running as a DaemonSet"`
}

type DeploymentSpec

type DeploymentSpec struct {
	DeploymentSpecSansResources
	Resources *ResourceRequirements `json:"resources,omitempty" desc:"resources for the main pod in the deployment"`
}

type DeploymentSpecSansResources added in v1.3.21

type DeploymentSpecSansResources struct {
	Replicas  int              `json:"replicas" desc:"number of instances to deploy"`
	CustomEnv []*appsv1.EnvVar `json:"customEnv,omitempty" desc:"custom extra environment variables for the container"`
}

type Discovery

type Discovery struct {
	Deployment     *DiscoveryDeployment `json:"deployment,omitempty"`
	FdsMode        string               `json:"fdsMode" desc:"mode for function discovery (blacklist or whitelist). See more info in the settings docs"`
	Enabled        *bool                `json:"enabled" desc:"enable Discovery features"`
	ServiceAccount `json:"serviceAccount" `
	LogLevel       *string `` /* 172-byte string literal not displayed */
}

type DiscoveryDeployment

type DiscoveryDeployment struct {
	Image                *Image            `json:"image,omitempty"`
	Stats                *Stats            `json:"stats,omitempty" desc:"overrides for prometheus stats published by the discovery pod"`
	FloatingUserId       bool              `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	RunAsUser            float64           `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
	FsGroup              float64           `json:"fsGroup" desc:"Explicitly set the group ID for volume ownership. Default is 10101"`
	ExtraDiscoveryLabels map[string]string `` /* 163-byte string literal not displayed */
	*DeploymentSpec
}

type Duration added in v1.6.0

type Duration struct {
	Seconds *int32 `json:"seconds,omitEmpty" desc:"The value of this duration in seconds."`
	Nanos   *int32 `json:"nanos,omitEmpty" desc:"The value of this duration in nanoseconds."`
}

google.protobuf.Duration

type EnvoySidecarContainer added in v1.3.8

type EnvoySidecarContainer struct {
	Image *Image `json:"image,omitempty"`
}

type Failover added in v1.5.0

type Failover struct {
	Enabled    bool   `json:"enabled" desc:"(Enterprise Only): Configure this proxy for failover"`
	Port       uint   `json:"port,omitempty" desc:"(Enterprise Only): Port to use for failover Gateway Bind port, and service. Default is 15443"`
	NodePort   uint   `json:"nodePort,omitempty" desc:"(Enterprise Only): Optional NodePort for failover Service"`
	SecretName string `json:"secretName" desc:"(Enterprise Only): Secret containing downstream Ssl Secrets Default is failover-downstream"`
}

type Gateway

type Gateway struct {
	Enabled                       *bool              `json:"enabled" desc:"enable Gloo Edge API Gateway features"`
	Validation                    *GatewayValidation `` /* 166-byte string literal not displayed */
	Deployment                    *GatewayDeployment `json:"deployment,omitempty"`
	CertGenJob                    *CertGenJob        `` /* 187-byte string literal not displayed */
	UpdateValues                  bool               `` /* 159-byte string literal not displayed */
	ProxyServiceAccount           ServiceAccount     `json:"proxyServiceAccount" `
	ServiceAccount                ServiceAccount     `json:"serviceAccount" `
	ReadGatewaysFromAllNamespaces bool               `` /* 167-byte string literal not displayed */
	LogLevel                      *string            `` /* 172-byte string literal not displayed */
}

type GatewayDeployment

type GatewayDeployment struct {
	Image              *Image            `json:"image,omitempty"`
	Stats              *Stats            `json:"stats,omitempty" desc:"overrides for prometheus stats published by the gateway pod"`
	FloatingUserId     bool              `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	RunAsUser          float64           `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
	ExtraGatewayLabels map[string]string `` /* 159-byte string literal not displayed */
	*DeploymentSpec
}

type GatewayProxy

type GatewayProxy struct {
	Kind                           *GatewayProxyKind            `json:"kind,omitempty" desc:"value to determine how the gateway proxy is deployed"`
	PodTemplate                    *GatewayProxyPodTemplate     `json:"podTemplate,omitempty"`
	ConfigMap                      *GatewayProxyConfigMap       `json:"configMap,omitempty"`
	CustomStaticLayer              interface{}                  `` /* 138-byte string literal not displayed */
	GlobalDownstreamMaxConnections uint32                       `` /* 173-byte string literal not displayed */
	HealthyPanicThreshold          int8                         `` /* 134-byte string literal not displayed */
	Service                        *GatewayProxyService         `json:"service,omitempty"`
	AntiAffinity                   bool                         `json:"antiAffinity" desc:"configure anti affinity such that pods are preferably not co-located"`
	Affinity                       []map[string]interface{}     `json:"affinity,omitempty"`
	Tracing                        *Tracing                     `json:"tracing,omitempty"`
	GatewaySettings                *GatewayProxyGatewaySettings `json:"gatewaySettings,omitempty" desc:"settings for the helm generated gateways, leave nil to not render"`
	ExtraEnvoyArgs                 []string                     `` /* 126-byte string literal not displayed */
	ExtraContainersHelper          string                       `json:"extraContainersHelper,omitempty"`
	ExtraInitContainersHelper      string                       `json:"extraInitContainersHelper,omitempty"`
	ExtraVolumes                   []map[string]interface{}     `json:"extraVolumes,omitempty"`
	ExtraVolumeHelper              string                       `json:"extraVolumeHelper,omitempty"`
	ExtraListenersHelper           string                       `json:"extraListenersHelper,omitempty"`
	Stats                          *Stats                       `json:"stats,omitempty" desc:"overrides for prometheus stats published by the gateway-proxy pod"`
	ReadConfig                     bool                         `json:"readConfig" desc:"expose a read-only subset of the envoy admin api"`
	ReadConfigMulticluster         bool                         `json:"readConfigMulticluster" desc:"expose a read-only subset of the envoy admin api to gloo-fed"`
	ExtraProxyVolumeMounts         []map[string]interface{}     `json:"extraProxyVolumeMounts,omitempty"`
	ExtraProxyVolumeMountHelper    string                       `` /* 142-byte string literal not displayed */
	LoopBackAddress                string                       `` /* 184-byte string literal not displayed */
	Failover                       Failover                     `json:"failover" desc:"(Enterprise Only): Failover configuration"`
	Disabled                       bool                         `` /* 139-byte string literal not displayed */
	EnvoyApiVersion                string                       `json:"envoyApiVersion" desc:"Version of the envoy API to use for the xDS transport and resources. Default is V3"`
	EnvoyBootstrapExtensions       []map[string]interface{}     `` /* 246-byte string literal not displayed */
	EnvoyStaticClusters            []map[string]interface{}     `` /* 228-byte string literal not displayed */
	HorizontalPodAutoscaler        *HorizontalPodAutoscaler     `` /* 240-byte string literal not displayed */
	PodDisruptionBudget            *PodDisruptionBudget         `` /* 147-byte string literal not displayed */
	IstioMetaMeshId                string                       `json:"istioMetaMeshId,omitempty" desc:"ISTIO_META_MESH_ID Environment Variable. Defaults to \"cluster.local\""`
	IstioMetaClusterId             string                       `json:"IstioMetaClusterId,omitempty" desc:"ISTIO_META_CLUSTER_ID Environment Variable. Defaults to \"Kubernetes\""`
	LogLevel                       *string                      `` /* 172-byte string literal not displayed */
}

type GatewayProxyConfigMap

type GatewayProxyConfigMap struct {
	Data map[string]string `json:"data"`
}

type GatewayProxyDeployment

type GatewayProxyDeployment struct {
	*DeploymentSpecSansResources
}

type GatewayProxyGatewaySettings added in v0.19.1

type GatewayProxyGatewaySettings struct {
	DisableGeneratedGateways bool                     `json:"disableGeneratedGateways" desc:"set to true to disable the gateway generation for a gateway proxy"`
	DisableHttpGateway       bool                     `json:"disableHttpGateway,omitempty" desc:"Set to true to disable http gateway generation."`
	DisableHttpsGateway      bool                     `json:"disableHttpsGateway,omitempty" desc:"Set to true to disable https gateway generation."`
	IPv4Only                 bool                     `` /* 149-byte string literal not displayed */
	UseProxyProto            bool                     `json:"useProxyProto" desc:"use proxy protocol"`
	CustomHttpGateway        string                   `json:"customHttpGateway,omitempty" desc:"custom yaml to use for http gateway settings"`
	CustomHttpsGateway       string                   `json:"customHttpsGateway,omitempty" desc:"custom yaml to use for https gateway settings"`
	GatewayOptions           v1.GatewayOptions        `json:"options,omitempty" desc:"custom options for http(s) gateways"`
	AccessLoggingService     als.AccessLoggingService `json:"accessLoggingService,omitempty"`
}

type GatewayProxyKind added in v0.17.3

type GatewayProxyKind struct {
	Deployment *GatewayProxyDeployment `json:"deployment,omitempty" desc:"set to deploy as a kubernetes deployment, otherwise nil"`
	DaemonSet  *DaemonSetSpec          `json:"daemonSet,omitempty" desc:"set to deploy as a kubernetes daemonset, otherwise nil"`
}

type GatewayProxyPodTemplate added in v0.17.3

type GatewayProxyPodTemplate struct {
	Image                         *Image                `json:"image,omitempty"`
	HttpPort                      int                   `json:"httpPort,omitempty" desc:"HTTP port for the gateway service target port"`
	HttpsPort                     int                   `json:"httpsPort,omitempty" desc:"HTTPS port for the gateway service target port"`
	ExtraPorts                    []interface{}         `json:"extraPorts,omitempty" desc:"extra ports for the gateway pod"`
	ExtraAnnotations              map[string]string     `json:"extraAnnotations,omitempty" desc:"extra annotations to add to the pod"`
	NodeName                      string                `json:"nodeName,omitempty" desc:"name of node to run on"`
	NodeSelector                  map[string]string     `json:"nodeSelector,omitempty" desc:"label selector for nodes"`
	Tolerations                   []*appsv1.Toleration  `json:"tolerations,omitEmpty"`
	Probes                        bool                  `json:"probes" desc:"enable liveness and readiness probes"`
	Resources                     *ResourceRequirements `json:"resources,omitempty"`
	DisableNetBind                bool                  `` /* 161-byte string literal not displayed */
	RunUnprivileged               bool                  `json:"runUnprivileged" desc:"run envoy as an unprivileged user"`
	FloatingUserId                bool                  `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	RunAsUser                     float64               `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
	FsGroup                       float64               `json:"fsGroup" desc:"Explicitly set the group ID for volume ownership. Default is 10101"`
	GracefulShutdown              *GracefulShutdownSpec `json:"gracefulShutdown,omitempty"`
	TerminationGracePeriodSeconds int                   `` /* 226-byte string literal not displayed */
	CustomReadinessProbe          *appsv1.Probe         `json:"customReadinessProbe,omitEmpty"`
	ExtraGatewayProxyLabels       map[string]string     `` /* 170-byte string literal not displayed */
}

type GatewayProxyService

type GatewayProxyService struct {
	Type                     string            "" /* 182-byte string literal not displayed */
	HttpPort                 int               `json:"httpPort,omitempty" desc:"HTTP port for the gateway service"`
	HttpsPort                int               `json:"httpsPort,omitempty" desc:"HTTPS port for the gateway service"`
	HttpNodePort             int               `json:"httpNodePort,omitempty" desc:"HTTP nodeport for the gateway service if using type NodePort"`
	HttpsNodePort            int               `json:"httpsNodePort,omitempty" desc:"HTTPS nodeport for the gateway service if using type NodePort"`
	ClusterIP                string            "" /* 131-byte string literal not displayed */
	ExtraAnnotations         map[string]string `json:"extraAnnotations,omitempty"`
	ExternalTrafficPolicy    string            `json:"externalTrafficPolicy,omitempty"`
	Name                     string            `json:"name,omitempty" desc:"Custom name override for the service resource of the proxy"`
	HttpsFirst               bool              `json:"httpsFirst" desc:"List HTTPS port before HTTP"`
	LoadBalancerIP           string            `json:"loadBalancerIP,omitempty" desc:"IP address of the load balancer"`
	LoadBalancerSourceRanges []string          `json:"loadBalancerSourceRanges,omitempty" desc:"List of IP CIDR ranges that are allowed to access the load balancer"`
	CustomPorts              []interface{}     `` /* 166-byte string literal not displayed */
	ExternalIPs              []string          `` /* 146-byte string literal not displayed */
}

type GatewayValidation added in v0.20.3

type GatewayValidation struct {
	Enabled                          bool     `json:"enabled" desc:"enable Gloo Edge API Gateway validation hook (default true)"`
	AlwaysAcceptResources            bool     `` /* 261-byte string literal not displayed */
	AllowWarnings                    bool     `` /* 179-byte string literal not displayed */
	DisableTransformationValidation  bool     `` /* 315-byte string literal not displayed */
	SecretName                       string   `` /* 199-byte string literal not displayed */
	FailurePolicy                    string   `` /* 183-byte string literal not displayed */
	Webhook                          *Webhook `json:"webhook" desc:"webhook specific configuration"`
	ValidationServerGrpcMaxSizeBytes *int     `json:"validationServerGrpcMaxSizeBytes,omitempty" desc:"gRPC max message size in bytes for the gloo validation server"`
}

type Global added in v0.18.11

type Global struct {
	Image             *Image           `json:"image,omitempty"`
	Extensions        interface{}      `json:"extensions,omitempty"`
	GlooRbac          *Rbac            `json:"glooRbac,omitempty"`
	GlooStats         Stats            `` /* 163-byte string literal not displayed */
	GlooMtls          Mtls             `json:"glooMtls,omitempty" desc:"Config used to enable internal mtls authentication"`
	IstioSDS          IstioSDS         `` /* 132-byte string literal not displayed */
	IstioIntegration  IstioIntegration `` /* 139-byte string literal not displayed */
	ExtraSpecs        bool             `` /* 170-byte string literal not displayed */
	ExtauthCustomYaml bool             `` /* 236-byte string literal not displayed */
}

type Gloo

type Gloo struct {
	Deployment     *GlooDeployment `json:"deployment,omitempty"`
	ServiceAccount `json:"serviceAccount" `
	LogLevel       *string `` /* 172-byte string literal not displayed */
}

type GlooDeployment

type GlooDeployment struct {
	Image                  *Image            `json:"image,omitempty"`
	XdsPort                int               `json:"xdsPort,omitempty" desc:"port where gloo serves xDS API to Envoy"`
	RestXdsPort            uint32            `json:"restXdsPort,omitempty" desc:"port where gloo serves REST xDS API to Envoy"`
	ValidationPort         int               `json:"validationPort,omitempty" desc:"port where gloo serves gRPC Proxy Validation to Gateway"`
	Stats                  *Stats            `json:"stats,omitempty" desc:"overrides for prometheus stats published by the gloo pod"`
	FloatingUserId         bool              `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	RunAsUser              float64           `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
	ExternalTrafficPolicy  string            `json:"externalTrafficPolicy,omitempty" desc:"Set the external traffic policy on the gloo service"`
	DisableUsageStatistics bool              `json:"disableUsageStatistics" desc:"Disable the collection of gloo usage statistics"`
	ExtraGlooLabels        map[string]string `` /* 151-byte string literal not displayed */
	*DeploymentSpec
}

type GracefulShutdownSpec added in v1.4.8

type GracefulShutdownSpec struct {
	Enabled          bool `` /* 259-byte string literal not displayed */
	SleepTimeSeconds int  `json:"sleepTimeSeconds" desc:"Time (in seconds) for the preStop hook to wait before allowing envoy to terminate"`
}

type HelmConfig added in v0.18.11

type HelmConfig struct {
	Config
	Global *Global `json:"global,omitempty"`
}

type HorizontalPodAutoscaler added in v1.6.11

type HorizontalPodAutoscaler struct {
	ApiVersion                     string                   `json:"apiVersion,omitempty" desc:"accepts autoscaling/v1 or autoscaling/v2beta2."`
	MinReplicas                    int32                    `` /* 133-byte string literal not displayed */
	MaxReplicas                    int32                    `` /* 167-byte string literal not displayed */
	TargetCPUUtilizationPercentage int32                    `` /* 192-byte string literal not displayed */
	Metrics                        []map[string]interface{} `` /* 230-byte string literal not displayed */
	Behavior                       map[string]interface{}   `` /* 209-byte string literal not displayed */
}

type Image

type Image struct {
	Tag        string `json:"tag,omitempty"  desc:"tag for the container"`
	Repository string `json:"repository,omitempty"  desc:"image name (repository) for the container."`
	Registry   string `json:"registry,omitempty" desc:"image prefix/registry e.g. (quay.io/solo-io)"`
	PullPolicy string `json:"pullPolicy,omitempty"  desc:"image pull policy for the container"`
	PullSecret string `json:"pullSecret,omitempty" desc:"image pull policy for the container "`
	Extended   bool   `json:"extended" desc:"if true, deploy an extended version of the container with additional debug tools"`
}

Common

type Ingress

type Ingress struct {
	Enabled             *bool              `json:"enabled"`
	Deployment          *IngressDeployment `json:"deployment,omitempty"`
	RequireIngressClass *bool              `` /* 246-byte string literal not displayed */
	CustomIngress       *bool              `` /* 285-byte string literal not displayed */
}

type IngressDeployment

type IngressDeployment struct {
	Image              *Image            `json:"image,omitempty"`
	RunAsUser          float64           `json:"runAsUser" desc:"Explicitly set the user ID for the container to run as. Default is 10101"`
	FloatingUserId     bool              `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	ExtraIngressLabels map[string]string `` /* 149-byte string literal not displayed */
	*DeploymentSpec
}

type IngressProxy

type IngressProxy struct {
	Deployment      *IngressProxyDeployment `json:"deployment,omitempty"`
	ConfigMap       *IngressProxyConfigMap  `json:"configMap,omitempty"`
	Tracing         *string                 `json:"tracing,omitempty"`
	LoopBackAddress string                  `` /* 184-byte string literal not displayed */
	Label           string                  `` /* 145-byte string literal not displayed */
	*ServiceSpec
}

type IngressProxyConfigMap

type IngressProxyConfigMap struct {
	Data map[string]string `json:"data,omitempty"`
}

type IngressProxyDeployment

type IngressProxyDeployment struct {
	Image                   *Image            `json:"image,omitempty"`
	HttpPort                int               `json:"httpPort,omitempty" desc:"HTTP port for the ingress container"`
	HttpsPort               int               `json:"httpsPort,omitempty" desc:"HTTPS port for the ingress container"`
	ExtraPorts              []interface{}     `json:"extraPorts,omitempty"`
	ExtraAnnotations        map[string]string `json:"extraAnnotations,omitempty"`
	FloatingUserId          bool              `json:"floatingUserId" desc:"set to true to allow the cluster to dynamically assign a user ID"`
	RunAsUser               float64           `json:"runAsUser" desc:"Explicitly set the user ID for the pod to run as. Default is 10101"`
	ExtraIngressProxyLabels map[string]string `` /* 160-byte string literal not displayed */
	*DeploymentSpec
}

type Integrations

type Integrations struct {
	Knative                 *Knative                 `json:"knative,omitEmpty"`
	Consul                  *Consul                  `json:"consul,omitEmpty" desc:"Consul settings to inject into the consul client on startup"`
	ConsulUpstreamDiscovery *ConsulUpstreamDiscovery `` /* 147-byte string literal not displayed */
}

type InvalidConfigPolicy added in v1.0.0

type InvalidConfigPolicy struct {
	ReplaceInvalidRoutes     bool   `` /* 308-byte string literal not displayed */
	InvalidRouteResponseCode int64  `json:"invalidRouteResponseCode,omitempty" desc:"the response code for the direct response"`
	InvalidRouteResponseBody string `json:"invalidRouteResponseBody,omitempty" desc:"the response body for the direct response"`
}

type IstioIntegration added in v1.6.11

type IstioIntegration struct {
	LabelInstallNamespace bool `` /* 415-byte string literal not displayed */
	WhitelistDiscovery    bool `` /* 225-byte string literal not displayed */
	DisableAutoinjection  bool `` /* 401-byte string literal not displayed */
}

type IstioSDS added in v1.5.0

type IstioSDS struct {
	Enabled        bool          `json:"enabled,omitempty" desc:"Enables SDS cert-rotator sidecar for istio mTLS cert rotation"`
	CustomSidecars []interface{} `` /* 152-byte string literal not displayed */
}

type Job added in v0.20.3

type Job struct {
	Image *Image `json:"image,omitempty"`
	*JobSpec
}

type JobSpec added in v0.18.0

type JobSpec struct {
	*PodSpec
}

type K8s added in v0.13.34

type K8s struct {
	ClusterName string `json:"clusterName" desc:"cluster name to use when referencing services."`
}

type Knative

type Knative struct {
	Enabled                    *bool             `json:"enabled" desc:"enabled knative components"`
	Version                    *string           `` /* 213-byte string literal not displayed */
	Proxy                      *KnativeProxy     `json:"proxy,omitempty"`
	RequireIngressClass        *bool             `` /* 177-byte string literal not displayed */
	ExtraKnativeInternalLabels map[string]string `` /* 166-byte string literal not displayed */
	ExtraKnativeExternalLabels map[string]string `` /* 166-byte string literal not displayed */
}

type KnativeProxy

type KnativeProxy struct {
	Image                          *Image            `json:"image,omitempty"`
	HttpPort                       int               `json:"httpPort,omitempty" desc:"HTTP port for the proxy"`
	HttpsPort                      int               `json:"httpsPort,omitempty" desc:"HTTPS port for the proxy"`
	Tracing                        *string           `json:"tracing,omitempty" desc:"tracing configuration"`
	LoopBackAddress                string            `` /* 184-byte string literal not displayed */
	ExtraClusterIngressProxyLabels map[string]string `` /* 175-byte string literal not displayed */
	*DeploymentSpec
	*ServiceSpec
}

type Mtls added in v1.3.6

type Mtls struct {
	Enabled               bool                  `json:"enabled" desc:"Enables internal mtls authentication"`
	Sds                   SdsContainer          `json:"sds,omitempty"`
	EnvoySidecar          EnvoySidecarContainer `json:"envoy,omitempty"`
	EnvoySidecarResources *ResourceRequirements `json:"envoySidecarResources,omitempty" desc:"Sets default resource requirements for all envoy sidecar containers."`
	SdsResources          *ResourceRequirements `json:"sdsResources,omitempty" desc:"Sets default resource requirements for all sds containers."`
}

type Namespace

type Namespace struct {
	Create bool `json:"create" desc:"create the installation namespace"`
}

type PodDisruptionBudget added in v1.6.11

type PodDisruptionBudget struct {
	// contains filtered or unexported fields
}

type PodSpec added in v0.18.0

type PodSpec struct {
	RestartPolicy string `json:"restartPolicy,omitempty" desc:"restart policy to use when the pod exits"`
}

type Rbac

type Rbac struct {
	Create     bool   `json:"create" desc:"create rbac rules for the gloo-system service account"`
	Namespaced bool   `json:"namespaced" desc:"use Roles instead of ClusterRoles"`
	NameSuffix string `` /* 219-byte string literal not displayed */
}

type ResourceAllocation added in v0.18.1

type ResourceAllocation struct {
	Memory string `json:"memory,omitEmpty" desc:"amount of memory"`
	CPU    string `json:"cpu,omitEmpty" desc:"amount of CPUs"`
}

type ResourceRef added in v1.6.0

type ResourceRef struct {
	Namespace *string `json:"namespace,omitEmpty" desc:"The namespace of this resource."`
	Name      *string `json:"namespace,omitEmpty" desc:"The name of this resource."`
}

equivalent of core.solo.io.ResourceRef

type ResourceRequirements added in v0.18.1

type ResourceRequirements struct {
	Limits   *ResourceAllocation `json:"limits,omitEmpty" desc:"resource limits of this container"`
	Requests *ResourceAllocation `json:"requests,omitEmpty" desc:"resource requests of this container"`
}

type SdsContainer added in v1.3.8

type SdsContainer struct {
	Image *Image `json:"image,omitempty"`
}

type Service added in v1.3.18

type Service struct {
	Type             *string           `json:"type,omitempty" desc:"K8s service type"`
	ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty" desc:"extra annotations to add to the service"`
	LoadBalancerIP   string            `json:"loadBalancerIP,omitempty" desc:"IP address of the load balancer"`
	HttpPort         int               `json:"httpPort,omitempty" desc:"HTTP port for the knative/ingress proxy service"`
	HttpsPort        int               `json:"httpsPort,omitempty" desc:"HTTPS port for the knative/ingress proxy service"`
}

type ServiceAccount added in v0.18.20

type ServiceAccount struct {
	ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty" desc:"extra annotations to add to the service account"`
	DisableAutomount bool              `` /* 193-byte string literal not displayed */
}

type ServiceDiscoveryOptions added in v1.6.0

type ServiceDiscoveryOptions struct {
	DataCenters []string `` /* 213-byte string literal not displayed */
}

type ServiceSpec added in v1.3.18

type ServiceSpec struct {
	Service *Service `json:"service,omitempty" desc:"K8s service configuration"`
}

type Settings

type Settings struct {
	WatchNamespaces               []string             `` /* 141-byte string literal not displayed */
	WriteNamespace                string               `` /* 139-byte string literal not displayed */
	Integrations                  *Integrations        `json:"integrations,omitempty"`
	Create                        bool                 `json:"create" desc:"create a Settings CRD which provides bootstrap configuration to Gloo Edge controllers"`
	Extensions                    interface{}          `json:"extensions,omitempty"`
	SingleNamespace               bool                 `json:"singleNamespace" desc:"Enable to use install namespace as WatchNamespace and WriteNamespace"`
	InvalidConfigPolicy           *InvalidConfigPolicy `json:"invalidConfigPolicy,omitempty" desc:"Define policies for Gloo Edge to handle invalid configuration"`
	Linkerd                       bool                 `json:"linkerd" desc:"Enable automatic Linkerd integration in Gloo Edge"`
	DisableProxyGarbageCollection bool                 `` /* 381-byte string literal not displayed */
	RegexMaxProgramSize           uint32               `` /* 208-byte string literal not displayed */
	DisableKubernetesDestinations bool                 `` /* 510-byte string literal not displayed */
	Aws                           AwsSettings          `json:"aws,omitempty"`
	RateLimit                     interface{}          `` /* 504-byte string literal not displayed */
	EnableRestEds                 bool                 `` /* 137-byte string literal not displayed */
	Helm2                         bool                 `` /* 152-byte string literal not displayed */
}

type Stats added in v1.2.13

type Stats struct {
	Enabled            bool    `json:"enabled,omitempty" desc:"Controls whether or not envoy stats are enabled"`
	RoutePrefixRewrite *string `json:"routePrefixRewrite,omitempty" desc:"The envoy stats endpoint to which the metrics are written"`
}

type Tracing added in v0.18.2

type Tracing struct {
	Provider string `json:"provider,omitempty"`
	Cluster  string `json:"cluster,omitempty"`
}

type Webhook added in v1.3.27

type Webhook struct {
	Enabled          *bool             `json:"enabled,omitempty" desc:"enable validation webhook (default true)"`
	DisableHelmHook  *bool             `json:"disableHelmHook,omitempty" desc:"do not create the webhook as helm hook (default false)"`
	ExtraAnnotations map[string]string `json:"extraAnnotations,omitempty" desc:"extra annotations to add to the webhook"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL