tektoncd/operator

Reconcile a namespace again with missing rolebinding

jkhelil opened this issue · 1 comments

Expected Behavior

When the rolebinding pipelines-scc-rolebinding is deleted or missing, Tektonconfig controller should keep reconciling

Actual Behavior

When the rolebinding pipelines-scc-rolebinding is deleted or missing, Tektonconfig controller should is blocked with message
PreReconciliation failed with message: rolebindings.rbac.authorization.k8s.io "pipelines-scc-rolebinding" not found

Steps to Reproduce the Problem

  • install the operator
  • create a namespace
  • delete rolebinding pipelines-scc-rolebinding in the created namespace
  • Tektonconfig is endlessly blokcked in the PreReconcialition

Additional Info

  • Kubernetes version:
    Client Version: 4.10.0-0.nightly-2023-07-21-181058
    Server Version: 4.14.11
    Kubernetes Version: v1.27.10+28ed2d7

    Output of kubectl version:
    WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
    Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.1", GitCommit:"4c9411232e10168d7b050c49a1b59f6df9d7ea4b", GitTreeState:"clean", BuildDate:"2023-04-14T13:14:41Z", GoVersion:"go1.20.3", Compiler:"gc", Platform:"darwin/amd64"}
    Kustomize Version: v5.0.1
    Server Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.10+28ed2d7", GitCommit:"c725f2ce5164bf4165b22d6c28dd0ace4b3b7e9b", GitTreeState:"clean", BuildDate:"2024-01-23T03:16:21Z", GoVersion:"go1.20.12 X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

    (paste your output here)
    
  • Tekton Pipeline version:
    Client version: 0.14.0
    Pipeline version: v0.58.0
    Triggers version: v0.26.1

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

done fixed