Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Gitlab Runner Users #142

Open
Breee opened this issue May 6, 2024 · 1 comment
Open

feature: Gitlab Runner Users #142

Breee opened this issue May 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Breee
Copy link

Breee commented May 6, 2024

What and Why?

  • Gitlab 17 will deprecate the traditional runner registration flow, thus we need to create gitlab runner users.
  • As an operator of Gitlab i want to be able to create and manage gitlab runners according to the new registration flow,
  • It would be great to have these runners as Crossplane Managed ressources as they can also automatically write the runner-tokens into a secret which can be picked up by gitlab runner operator or so.
  • This would also enable us to easily rotate gitlab runner registration tokens

How

Schema wise, something similar to https://registry.terraform.io/providers/gitlabhq/gitlab/latest/docs/resources/user_runner would be perfect

apiVersion: users.gitlab.crossplane.io/v1alpha1
kind: Runner
metadata:
  name: my-runner
spec:
  forProvider:
    runnerType: instance_type
    description: "My fancy instance runner"
    # (etc..)
   providerConfigRef:
    name: gitlab-provider
  writeConnectionSecretToRef:
    name: my-runner-token
    namespace: crossplane-system

What do you think? (I'd be happy to contribute)

@Breee Breee added the enhancement New feature or request label May 6, 2024
@jore731
Copy link

jore731 commented May 23, 2024

I'd really need this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants