Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KongDefaults = map[string]string{ "KONG_ADMIN_ACCESS_LOG": "/dev/stdout", "KONG_ADMIN_ERROR_LOG": "/dev/stderr", "KONG_ADMIN_GUI_ACCESS_LOG": "/dev/stdout", "KONG_ADMIN_GUI_ERROR_LOG": "/dev/stderr", "KONG_CLUSTER_LISTEN": "off", "KONG_DATABASE": "off", "KONG_NGINX_WORKER_PROCESSES": "2", "KONG_PLUGINS": "bundled", "KONG_PORTAL_API_ACCESS_LOG": "/dev/stdout", "KONG_PORTAL_API_ERROR_LOG": "/dev/stderr", "KONG_PORT_MAPS": "80:8000, 443:8443", "KONG_PROXY_ACCESS_LOG": "/dev/stdout", "KONG_PROXY_ERROR_LOG": "/dev/stderr", "KONG_PROXY_LISTEN": fmt.Sprintf("0.0.0.0:%d reuseport backlog=16384, 0.0.0.0:%d http2 ssl reuseport backlog=16384", consts.DataPlaneProxyPort, consts.DataPlaneProxySSLPort), "KONG_STATUS_LISTEN": fmt.Sprintf("0.0.0.0:%d", consts.DataPlaneStatusPort), "KONG_ADMIN_LISTEN": fmt.Sprintf("0.0.0.0:%d ssl reuseport backlog=16384", consts.DataPlaneAdminAPIPort), "KONG_ADMIN_SSL_CERT": "/var/cluster-certificate/tls.crt", "KONG_ADMIN_SSL_CERT_KEY": "/var/cluster-certificate/tls.key", "KONG_NGINX_ADMIN_SSL_CLIENT_CERTIFICATE": "/var/cluster-certificate/ca.crt", "KONG_NGINX_ADMIN_SSL_VERIFY_CLIENT": "on", "KONG_NGINX_ADMIN_SSL_VERIFY_DEPTH": "3", }
KongDefaults are the baseline Kong proxy configuration options needed for the proxy to function.
Functions ¶
func FillDataPlaneProxyContainerEnvs ¶
func FillDataPlaneProxyContainerEnvs(existing []corev1.EnvVar, podTemplateSpec *corev1.PodTemplateSpec)
FillDataPlaneProxyContainerEnvs sets any unset default configuration options on the DataPlane. It allows overriding the defaults via the provided PodTemplateSpec. EnvVars are sorted lexographically as a side effect. It also returns the updated EnvVar slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.