Documentation
¶
Index ¶
Constants ¶
View Source
const ( InsightsConfigMapName = "insights-proxy" ProxyDeploymentName = InsightsConfigMapName ProxyServiceName = ProxyDeploymentName ProxyServicePort = 8080 ProxySecretName = "apicastconf" EnvInsightsBackendDomain = "INSIGHTS_BACKEND_DOMAIN" EnvInsightsProxyDomain = "INSIGHTS_PROXY_DOMAIN" EnvInsightsEnabled = "INSIGHTS_ENABLED" // Environment variable to override the Insights proxy image EnvInsightsProxyImageTag = "RELATED_IMAGE_INSIGHTS_PROXY" )
Variables ¶
This section is empty.
Functions ¶
func MergeLabelsAndAnnotations ¶
func MergeLabelsAndAnnotations(dest *metav1.ObjectMeta, srcLabels, srcAnnotations map[string]string)
MergeLabelsAndAnnotations copies labels and annotations from a source to the destination ObjectMeta, overwriting any existing labels and annotations of the same key.
func SeccompProfile ¶
func SeccompProfile(openshift bool) *corev1.SeccompProfile
SeccompProfile returns a SeccompProfile for the restricted Pod Security Standard that, on OpenShift, is backwards-compatible with OpenShift < 4.11. TODO Remove once OpenShift < 4.11 support is dropped
Types ¶
type DefaultOSUtils ¶
type DefaultOSUtils struct{}
func (*DefaultOSUtils) GetEnv ¶
func (o *DefaultOSUtils) GetEnv(name string) string
GetEnv returns the value of the environment variable with the provided name. If no such variable exists, the empty string is returned.
Click to show internal directories.
Click to hide internal directories.