I have a self-hosted gitlab server in my lab for my personal projects running on a VM. I am trying to create a gitlab-runner on my K3S kubernetes cluster. I installed the OLM operator and the secret without any issues, but when I attempt to install this I get the following error message. I have checked the api-resources and Runner does show up as a resource and the appropriate version is correct as well.
“Error from server (InternalError): error when retrieving current configuration of:
Resource: “apps.gitlab.com/v1beta2, Resource=runners”, GroupVersionKind: “apps.gitlab.com/v1beta2, Kind=Runner”
Name: “gitlab-runner”, Namespace: “gitlab-runner”
from server for: “gitlab-runner.yml”: Internal error occurred: error resolving resource”
apiVersion: apps.gitlab.com/v1beta2
kind: Runner
metadata:
name: gitlab-runner
namespace: gitlab-runner
spec:
gitlabUrl: https://gitlab.mydomain.com
buildImage: alpine
config: "gitlab-runner-config-toml"
token: gitlab-runner-secret
tags: Shared