Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LocalUser . LocalUser = "1000" // Region . Region = "us-east-1" // RegistryBucket . RegistryBucket = "registry" // AppConfigConnectionSecretName . AppConfigConnectionSecretName = "storage-config" // RegistryConnectionSecretName . RegistryConnectionSecretName = "registry-storage" // ToolboxConnectionSecretName . ToolboxConnectionSecretName = "s3cmd-config" // nolint:gosec )
Variables ¶
View Source
var ( // HelmChartsDirectory is the directory that contains all the bundled Charts. // The default value is "/charts". Use HELM_CHARTS environment variable to change it. HelmChartsDirectory = "/charts" // ManagerServiceAccount is the name of the ServiceAccount that is used by the manager. // The default value is "gitlab-manager". Use GITLAB_MANAGER_SERVICE_ACCOUNT environment // variable to change it. ManagerServiceAccount = "gitlab-manager" // AppAnyUIDServiceAccount is the name of the ServiceAccount that is used by GitLab components // that can run under the 'anyuid' SecurityContextConstraint. // The default value is "gitlab-app-anyuid". Use GITLAB_APP_ANYUID_SERVICE_ACCOUNT environment // variable to change it. AppAnyUIDServiceAccount = "gitlab-app-anyuid" // AppNonRootServiceAccount is the name of the ServiceAccount that is used by GitLab components // that can run under the 'nonroot' SecurityContextConstraint. // The default value is "gitlab-app-nonroot". Use GITLAB_APP_NONROOT_SERVICE_ACCOUNT environment // variable to change it. AppNonRootServiceAccount = "gitlab-app-nonroot" // NGINXServiceAccount is the name of the ServiceAccount that is used by NGINX. // The default value is "gitlab-nginx-ingress". Use NGINX_SERVICE_ACCOUNT environment // variable to change it. NGINXServiceAccount = "gitlab-nginx-ingress" // HealthProbeBindAddress returns the address for hosting health probes. HealthProbeBindAddress = ":6060" // LivenessEndpointName returns the endpoint name for the liveness probe. LivenessEndpointName = "/liveness" // ReadinessEndpointName returns the endpoint name for the readiness probe. ReadinessEndpointName = "/readiness" // AliveStatus returns an error if not alive, and nil if alive. AliveStatus = fmt.Errorf("not alive") // ReadyStatus returns an error if not ready, and nil if ready. ReadyStatus = fmt.Errorf("not ready") // HealthzCheck returns the checker. HealthzCheck = func(_ *http.Request) error { return AliveStatus } ReadyzCheck = func(_ *http.Request) error { return ReadyStatus } KubeVersion *chartutil.KubeVersion = nil )
Functions ¶
func GetKubeAPIVersions ¶
func GetKubeAPIVersions() chartutil.VersionSet
func IsGroupVersionSupported ¶
IsGroupVersionSupported checks for API endpoint for given Group and Version.
func SetEnvTestConfig ¶
func UnsetEnvTestConfig ¶
func UnsetEnvTestConfig()
Types ¶
type KubeConfig ¶
func KubernetesConfig ¶
func KubernetesConfig() KubeConfig
func (KubeConfig) NewKubernetesClient ¶
func (k KubeConfig) NewKubernetesClient() (*kubernetes.Clientset, error)
Click to show internal directories.
Click to hide internal directories.