Skip to content
Snippets Groups Projects
  • Frank Ritchie's avatar
    5b0e8833
    Update cilium-operator clusterrole (#7416) · 5b0e8833
    Frank Ritchie authored
    When upgrading cilium from 1.8.8 to 1.9.5 I ran into the following
    error:
    
    level=error msg="Unable to update CRD" error="customresourcedefinitions.apiextensions.k8s.io
    \"ciliumnodes.cilium.io\" is forbidden: User \"system:serviceaccount:kube-system:cilium-operator\"
    cannot update resource \"customresourcedefinitions\" in API group \"apiextensions.k8s.io\" at the
    cluster scope" name=CiliumNode/v2 subsys=k8s
    
    The fix was to add the update verb to the clusterrole. I also added
    create to match the clusterrole created by the cilium helm chart.
    5b0e8833
    History
    Update cilium-operator clusterrole (#7416)
    Frank Ritchie authored
    When upgrading cilium from 1.8.8 to 1.9.5 I ran into the following
    error:
    
    level=error msg="Unable to update CRD" error="customresourcedefinitions.apiextensions.k8s.io
    \"ciliumnodes.cilium.io\" is forbidden: User \"system:serviceaccount:kube-system:cilium-operator\"
    cannot update resource \"customresourcedefinitions\" in API group \"apiextensions.k8s.io\" at the
    cluster scope" name=CiliumNode/v2 subsys=k8s
    
    The fix was to add the update verb to the clusterrole. I also added
    create to match the clusterrole created by the cilium helm chart.