Documentation
¶
Index ¶
- Constants
- func ConfigMap(cr *gitlabv1beta2.Runner) *corev1.ConfigMap
- func Deployment(cr *gitlabv1beta2.Runner, envvars []corev1.EnvVar) *appsv1.Deployment
- func MetricsService(cr *gitlabv1beta2.Runner) *corev1.Service
- func RegistrationTokenSecret(cr *gitlabv1beta2.Runner) types.NamespacedName
- type Config
Constants ¶
View Source
const ( // RunnerImage has name of runner RunnerImage string = "gitlab-runner" // HelperImage has name of runner helper HelperImage string = "gitlab-runner-helper" )
View Source
const RunnerServiceAccount string = "gitlab-runner-sa"
RunnerServiceAccount defines the sa for GitLab runner
Variables ¶
This section is empty.
Functions ¶
func ConfigMap ¶
func ConfigMap(cr *gitlabv1beta2.Runner) *corev1.ConfigMap
ConfigMap returns the runner configmap object
func Deployment ¶
func Deployment(cr *gitlabv1beta2.Runner, envvars []corev1.EnvVar) *appsv1.Deployment
Deployment returns the runner deployment object
func MetricsService ¶
func MetricsService(cr *gitlabv1beta2.Runner) *corev1.Service
MetricsService returns the kubernetes service object for metrics
func RegistrationTokenSecret ¶
func RegistrationTokenSecret(cr *gitlabv1beta2.Runner) types.NamespacedName
RegistrationTokenSecret returns name of secret containing the runner-registration-token and runner-token keys
Types ¶
Click to show internal directories.
Click to hide internal directories.