FailedMount. MountVolume.SetUp failed for volume "cert"

Good day community,

Hope someone could help me to resolve the issue that I’ve faced :blush:

I have created a K3S cluster using Rancher and on top of it installed cert-manager (it’s a requirement for actions-runner-controller).
Then, as the second step I installed actions-runner-controller using Helm in the namespace ‘actions-runner-system’.

However, I see that pod is stuck:

$ k --kubeconfig .kube\config.yaml get pods -n actions-runner-system

NAME                                         READY   STATUS              RESTARTS   AGE
actions-runner-controller-5b8c8c8c8d-8cp9p   0/2     ContainerCreating   0          14m

I checked that pod:

$ k --kubeconfig .kube\config.yaml describe pod actions-runner-controller-5455b9f4d6-2nvbt -n actions-runner-system

Name:             actions-runner-controller-5455b9f4d6-2nvbt
Namespace:        actions-runner-system
Priority:         0
Service Account:  actions-runner-controller
Start Time:       Wed, 15 Mar 2023 13:24:35 +0100
Annotations: 2023-03-15T12:24:35Z
Status:           Pending
IPs:              <none>
Controlled By:    ReplicaSet/actions-runner-controller-5455b9f4d6
    Container ID:
    Image:         summerwind/actions-runner-controller:v0.27.0
    Image ID:
    Port:          9443/TCP
    Host Port:     0/TCP
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
      GITHUB_TOKEN:                <set to the key 'github_token' in secret 'controller-manager'>                Optional: true
      GITHUB_APP_ID:               <set to the key 'github_app_id' in secret 'controller-manager'>               Optional: true
      GITHUB_APP_INSTALLATION_ID:  <set to the key 'github_app_installation_id' in secret 'controller-manager'>  Optional: true
      GITHUB_APP_PRIVATE_KEY:      <set to the key 'github_app_private_key' in secret 'controller-manager'>      Optional: true
      GITHUB_BASICAUTH_PASSWORD:   <set to the key 'github_basicauth_password' in secret 'controller-manager'>   Optional: true
      /etc/actions-runner-controller from secret (ro)
      /tmp from tmp (rw)
      /tmp/k8s-webhook-server/serving-certs from cert (ro)
      /var/run/secrets/ from kube-api-access-qdk54 (ro)
    Container ID:
    Image ID:
    Port:          8443/TCP
    Host Port:     0/TCP
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
      /var/run/secrets/ from kube-api-access-qdk54 (ro)
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
    Type:        Secret (a volume populated by a Secret)
    SecretName:  controller-manager
    Optional:    false
    Type:        Secret (a volume populated by a Secret)
    SecretName:  actions-runner-controller-serving-cert
    Optional:    false
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    SizeLimit:  <unset>
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:        op=Exists for 300s
                    op=Exists for 300s
  Type     Reason       Age                  From               Message
  ----     ------       ----                 ----               -------
  Normal   Scheduled    3m24s                default-scheduler  Successfully assigned actions-runner-system/actions-runner-controller-5455b9f4d6-2nvbt to
  Warning  FailedMount  81s                  kubelet            Unable to attach or mount volumes: unmounted volumes=[cert], unattached volumes=[secret tmp cert kube-api-access-qdk54]: timed out waiting for the condition
  Warning  FailedMount  76s (x9 over 3m24s)  kubelet            MountVolume.SetUp failed for volume "cert" : secret "actions-runner-controller-serving-cert" not found

There are some Warning messages, but I can’t get what’s wrong. Is this issue related to the ‘cert-manager’ or it’s a problem with the ‘actions-runner-controller’ itself? Or maybe there is some issue in the K3S (checked its status: active(running))?

I have tested everything in minikube on my local pc and there everything works fine. However, it’s worth mentioning that the K3S cluster is running in an isolated environment, but probably that shouldn’t be the case.

Cluster information:

Kubernetes version: v1.24.7+k3s1
Installation method: Rancher
Host OS: RHEL8

$ helm --kubeconfig .kube\config.yaml list -n actions-runner-system

NAME                            NAMESPACE               REVISION        UPDATED                                 STATUS  CHART                                   APP VERSION
actions-runner-controller       actions-runner-system   1               2023-03-15 10:28:11.3575084 +0100 CET   failed  actions-runner-controller-0.22.0        0.27.0

Thanks in advance,